Skip to content

A template for Python packages with Continuous Integration capabilities

License

Notifications You must be signed in to change notification settings

reloc8/util-python-package-template

Repository files navigation

Python Package Template

A template for Python packages with Continuous Integration capabilities.

When a pull request is merged into master a new version is released based on the name of the merged branch. For example, feature branches trigger new minor releases while bugfix branches trigger new patch releases (more info here).

Development

  1. Create a virtual environment:

    $ python3 -m venv .venv

  2. Activate the created environment:

    $ source .venv/bin/activate

  3. Upgrade pip:

    $ python3 -m pip install --upgrade pip

  4. Install the requirements:

    $ pip install --upgrade -r requirements.txt