/cookiecutter-python

A cookie cutter template for python projects.

Primary LanguageShellApache License 2.0Apache-2.0

cookiecutter-python

A cookie cutter template for python projects.

$ cruft create https://github.com/allenporter/cookiecutter-python/

Local Testing

When updating the template, you may want to examine the output first before submitting.

To prepare environment with cruft:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements_dev.txt

Creating a project with the template:

$ TMP_DIR=/tmp/x
$ cruft create --output-dir=${TMP_DIR} --no-input .

Updating an existing project with the template:

$ cruft update --project-dir=${TMP_DIR}/python_project_name