Setting up the environment¶
Installing all dependencies¶
All development dependencies can be installed by running:
$ pip install .[development]
It is recommended to do this using a virtual environment tool of your choice.
For example, when using the virtual environment library venv:
$ python -m venv axelrod_development
$ source axelrod_development/bin/activate
$ pip install .[development]
The git workflow¶
There are two important branches in this repository:
dev: The most up to date branch with no failing tests. This is the default branch on github.release: The latest release.
When working on a new contribution branch from the latest dev branch and
open a Pull Request on github from your branch to the dev branch.
The procedure for a new release (this is carried out by one of core maintainers):
Create a Pull Request from
devtoreleasewhich should include an update toaxelrod/version.pyandCHANGES.mdCreate a git tag.
Push to github.
Create a release on github.
Push to PyPi:
python setup.py sdist bdist_wheel upload