DC23 / cookiecutter-dcpypackage

A cookiecutter template, with the author's preferred Python package setup.
MIT License
2 stars 2 forks source link

cookiecutter-dcpypackage

A cookiecutter template, with the author's preferred Python package setup.

Features:

Inspiration, and some boilerplate text taken from other templates, including:

Usage

Install cookiecutter if you haven't already. Then, create a project in your current working directory using:

$ cookiecutter gh:DC23/cookiecutter-dcpypackage

Once your project is created, the next steps should be to create a virtual environment (using either virtualenv/virtualenvwrapper or the virtual environment functionality built into Python 3):

$ mkvirtualenv -a . my_project

With the virtual environment activated, install the initial development dependencies including installing your package in development mode:

$ make develop

After that, you can start customising the templates to suit your needs. Run make with no target for a list of make options:

$ make

Note that bumpversion and tox do not have make targets. It is easier to run them directly.