Setting up the environment¶
Installing all dependencies¶
All dependencies can be installed by running:
$ pip install -r requirements.txt
It is recommended to do this using a virtual environment tool of your choice.
For example, when using the virtual environment library
$ python -m venv axelrod_development $ source axelrod_development/bin/activate $ pip install -r requirements.txt
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
The procedure for a new release (this is carried out by one of core maintainers):
- Create a Pull Request from
releasewhich should include an update to
- Create a git tag.
- Push to github.
- Create a release on github.
- Push to PyPi:
python setup.py sdist bdist_wheel upload