Python PasteScript 的粘贴器的替代品创建? [英] Alternatives to Python PasteScript's paster create?

查看:25
本文介绍了Python PasteScript 的粘贴器的替代品创建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎 PasteScriptpaster create 功能几乎是唯一的在 python 中构建/生成项目框架的广泛使用的框架.我想知道在人们使用的 Python 世界中是否有任何替代方案?

It seems like PasteScript's paster create functionality is just about the only widely used framework for building/generating a project skeleton within python. I'm wondering if there are any alternatives in the python world that folks use?

更新

我想评论一下我最初提出这个问题后的经历.接受的答案仍然有效 - 有许多模板/骨架包可供使用.但是,从给出的其他答案中,我确实开始使用 mr.bob 并已签出 cookiecutter.两者都是通用(因为不绑定到特定框架)、易于使用并且相对当前活跃项目 - 这是我正在寻找的标准的一部分,但在我最初的问题中没有详细说明.

I want to comment on my experience since originally asking this question. The accepted answer still stands - there are a number of templating/skeleton packages out there one could use. However, from the other answers given, I did start to use mr.bob and have checked out cookiecutter. Both are generic (as in not bound to a particular framework), easy to use and relatively current and active projects - which were part of the criteria I was looking for but did not detail in my original question.

推荐答案

这取决于您的框架.对于 Django 应用程序,您使用 django-admin.py startproject mysite.对于在 Linux 上开发 GUI 应用程序,有 Ubuntu 的 Quickly,它也创建了一个骨架项目.对于粘贴项目,您使用粘贴器.

It depends on your framework. For Django applications, you use django-admin.py startproject mysite. For developing GUI applications on Linux, there's Ubuntu's Quickly, which also creates a skeleton project. For Paste projects, you use paster.

不过,对于您正在做的事情,并没有真正的通用工具.这取决于框架,通常,这些脚本带有特定的框架.就其价值而言,PyCharm(一个 IDE)包括一些项目模板,用于诸如 Google App Engine 也是.

There's not really a general purpose tool for what you're doing though. It depends on the framework, and usually, those scripts come with particular frameworks. And for what it's worth, PyCharm (an IDE) includes some project templates for things like Google App Engine too.

这篇关于Python PasteScript 的粘贴器的替代品创建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆