python-package-templateProvides a command to easily create a standard Python package layout | |
Download |
python-package-template Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Publisher Name:
- Gary Wilson Jr.
- Publisher web site:
- http://code.google.com/u/gary.wilson/
python-package-template Tags
python-package-template Description
Provides a command to easily create a standard Python package layout Provides a command to easily create a standard Python package layout (i.e. README, package directory, etc.), following the Hitchhiker's Guide to Packaging.Quickstart1. Run pypack, specifying the name of your new package (optionally, use command line options to provide additional information, see pypack -h).a. If you want to create a new Python package in an existing directory, just specify the desired Python package name: pypack mynewpackageb. If you want to specify different directory, you may optionally use the -t (or --target) option to specify a target, non-existent directory: pypack mynewpackage -t /new/path2. Review/edit the generated files3. Add your code, documentation, etc.4. Create distribution tarball: cd mynewpackage python setup.py sdist5. Register project on PyPI: python setup.py register6. Upload to PyPI: python setup.py sdist upload
python-package-template Related Software