Contributions via PR to this repo are welcome. Please fork the repo, work on your feature or change using the guide below, and then make a PR against this repo. The team will review the PR and work with you to get it merged. Thanks!
pipx installation instructions
e.g. for macOS
brew install pipx
pipx ensurepathe.g.
pipx install poetrypoetry install --with devPoetry will also install a script so the cli
can be run using cnc as if there was a binary installed.
# starts a login shell in the virtual env created by poetry
# pre-requisite for the following commands (python shell, cli, etc.)
eval $(poetry env activate)Run this in the src dir after running poetry shell as per above.
pytestYou can also run something like this to run one class (no need to qualify with path):
pytest -k EnvironmentCollectionExistingDBTestCase -v
You can do this from anywhere once you have activated poetry shell
cnc shell starte.g.:
- start in your
cncrepo poetry shellcd ../MY_SITE_DIRcnc shell start
cnc --helpdeveloped using python 🐍 >= 3.9
(check yours with python --version)
There's a codespace set up in the repo where you just run poetry shell and you're all set to work, that's the easiest place to be.
e.g. populate ~/.pypirc
python3 -m pip install --upgrade buildpython3 -m buildpython3 -m twine upload dist/*