A customized, minimal cookiecutter template for Python packages, built off of the cookiecutter-pypackage-minimal template.
Packaging in Python can be annoying so this hopes to save some time.
pip install cookiecutter
git clone https://github.com/jakubd/cookiecutter-custom-pypackage.git
cookiecutter cookiecutter-custom-pypackage/
You should then change the classifiers in {{ package_name }}/setup.py
- it is assumed that the project will run on the latest versions of Python 2 and 3, so you should remove any classifiers that do not apply. The full list of PyPI classifiers can be found here.
Though overall this is minimal template some features that are set up which include:
- pytest as the default test runner.
- tox for testing Python version compatibility.
- Dockerfile generated for testing in a disposable environment.
- setuptools for packaging.
- requirements.txt support as well for those that need that kind of thing.
- travis-ci.org setup for CI integration.
- BSD 3-Clause License
- Markdown instead of RST for documentation..