Skip to main content

PasteScript template to create a Python project with distribute and buildout support

Project description

modern-package-template

modern-package-template is a Paste 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:

  1. Use Distribute instead of setuptools as the BDFL himself supports it.

  2. Buildout support, though you are not required to make use of it.

  3. 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.

See the section titled “Roadmap” below for planned features.

Getting started

First install modern-package-template using PyPM or pip:

$ pypm install modern-package-template

OR

$ pip install modern-package-template

To create a Python project called “helloworld”, run the following command in your terminal:

$ paster create -t modern_package helloworld

You could also, optionally, create namespace packages:

$ paster create -t modern_package my.new.package package=my.new.package

Once you create the project layout, the very first thing you must do is to review the contents of README.txt and edit it accordingly.

Roadmap

In the next release, I’d like to add support for Sphinx and Sphinx-PyPI-upload tool, so that developers can upload their sphinx-based documentation to packages.python.org without having to manually do it themselves.

If you like, please help with working on one of the new/open issues.

Credits

Source code is derived from the advanced_package template - which is also licensed under GPLv3.

News

1.0b1

Release date: 14-Mar-2010

  • #6: Remove zip_safe from the template questionnaire

  • #3: Add README.txt and NEWS.txt as a replacement for long_description

  • #1: Add distribute_setup.py to the template

0.9.2

Release date: 14-Feb-2010

  • Provide a complete buildout.cfg that is usable

  • Use buildout by default

  • Use Distribute instead of Setuptools

  • Inherit from harobed.paster_template.advanced_package 0.2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modern-package-template-1.0b1.tar.gz (10.5 kB view details)

Uploaded Source

File details

Details for the file modern-package-template-1.0b1.tar.gz.

File metadata

File hashes

Hashes for modern-package-template-1.0b1.tar.gz
Algorithm Hash digest
SHA256 5a6059a3605cb014efea4cd47aeef98f2c36c147dd14d2899a12bc49e00ba55f
MD5 69513a0b69a3794fd799a841841a1e6b
BLAKE2b-256 850bd465b81f3a32ecce3bf978029bfcb80b925526932f61cf87447353e10ff4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page