Setting the environment

To set up a complete Python3 development environment (Linux based systems only):

git clone https://github.com/mondeja/countrydata.git
cd countrydata
python3 -m pip install -U virtualenv
python3 -m virtualenv venv
. venv/bin/activate
python3 -m pip install -r dev-requirements.txt

Commands

You need to install NodeJS with NPM or Yarn to run frequent commands easily:

  • build Build dinamic documentation files.

  • dev:test Test with pytest in your current environment.

  • dev:install Performs a development install.

  • dev:install:req Install countrydata development requirements.

  • doc Build countrydata sphinx documentation.

  • doc:watch Build countrydata sphinx documentation watching for changes in files.

  • flake8 Test countrydata code styling using flake8.

  • release Release countrydata package to Pypa.

  • release:test Release countrydata package to Pypa using testing endpoint.

  • test Test countrydata against all available environments using tox.