.. image:: https://travis-ci.org/briggySmalls/cookiecutter-pypackage.svg?branch=master :target: https://travis-ci.org/briggySmalls/cookiecutter-pypackage :alt: Linux build status on Travis CI
.. image:: https://ci.appveyor.com/api/projects/status/github/briggySmalls/cookiecutter-pypackage?branch=master&svg=true :target: https://ci.appveyor.com/project/briggySmalls/cookiecutter-pypackage/branch/master :alt: Windows build status on Appveyor
Cookiecutter template for a Python package, forked from audreyr/cookiecutter-pypackage
.
.. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage .. _Cookiecutter: https://github.com/audreyr/cookiecutter
This template has all of the features of the original audreyr/cookiecutter-pypackage
_, plus the following:
Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher)::
pip install -U cookiecutter
Generate a Python package project::
cookiecutter https://github.com/briggySmalls/cookiecutter-pypackage.git
Then:
poetry install
)travis encrypt --add deploy.password
to encrypt your PyPI password in Travis config
and activate automated deployment on PyPI when you push a new tag to master branch.Read the Docs
_ account + turn on the Read the Docs service hook.poetry add
.pyup.io
_... _pip docs for requirements files
: https://pip.pypa.io/en/stable/user_guide/#requirements-files
.. _Register: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
For more details, see the cookiecutter-pypackage tutorial
_.
.. _cookiecutter-pypackage tutorial
: https://briggysmalls.github.io/cookiecutter-pypackage/tutorial.html
.. _invoke: http://www.pyinvoke.org/
.. _isort: https://pypi.org/project/isort/
.. _yapf: https://github.com/google/yapf
.. _flake8: https://pypi.org/project/flake8/
.. _pylint: https://www.pylint.org/
.. _poetry: https://python-poetry.org/
.. _original_pypackage: https://github.com/briggySmalls/cookiecutter-pypackage/
.. _Travis-CI: http://travis-ci.org/
.. _Tox: http://testrun.org/tox/
.. _Sphinx: http://sphinx-doc.org/
.. Read the Docs: https://readthedocs.io/
.. pyup.io
: https://pyup.io/
.. _bump2version: https://github.com/c4urself/bump2version
.. _Punch: https://github.com/lgiordani/punch
.. _PyPi: https://pypi.python.org/pypi