From root directory
- WINDOWS
python -m venv env && .\env\Scripts\activate
- UNIX
python3 -m venv env && source env/bin/activate
- PYENV
pyenv virtualenv env && pyenv activate env
- WINDOWS
python -m pip install -e ".[dev]"
- UNIX:
python3 -m pip install -e '.[dev]'
flake8
pytest -v --cache-clear
tox
coverage run -m pytest && coverage report
- WINDOWS
coverage run -m pytest && coverage html && start htmlcov\index.html
- UNIX
coverage run -m pytest && coverage html && open ./htmlcov/index.html
- Serve documentation from local machine:
mkdocs serve
- Log into RTD
- Go to "My Projects" > meraki-cli
- Click "Build Version"
pip3 install --upgrade meraki
- See above
python3 .command_guide_build.py
- Update
__version__.py
- Update referenced version in
README.md
- Add the new version notes to
CHANGELOG.md
deactivate
bash commit.sh
- Update DevNet by pulling changes (https://developer.cisco.com/codeexchange/github/repo/PackeTsar/meraki-cli#edit)