Initialize project layout in python?

后端 未结 4 569
情书的邮戳
情书的邮戳 2020-12-28 10:38

Suppose a programmer has the following problem: he wants to start a new python project. He needs a basic layout of boilerplate stuff, like test directory, source directory,

4条回答
  •  情书的邮戳
    2020-12-28 11:12

    I'm using modern-package-template to layout my Python projects.

    modern-package-template is a PasteScript template to create an initial layout for your Python projects using modern tools and practices followed in the Python community. Thus, your projects will have the following characteristics:

    • Use Distribute instead of setuptools as the BDFL himself supports it.
    • Buildout support, though you are not required to make use of it.
    • README.txt and NEWS.txt automatically included in your package metadata as long_description, thus making them appear in the PyPI page for your project.
    • Automatic script (or .exe) creation using Distribute

    More info and download from pypi: http://pypi.python.org/pypi/modern-package-template

提交回复
热议问题