-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Asitha Senanayake edited this page Feb 20, 2021
·
2 revisions
Welcome to the python-ags4 wiki!
This project is built in Ubuntu 20.04 and packaged using poetry
(python-poetry.org). Unit testing is done using pytest
.
- Instructions on how to install
poetry
can be found at https://python-poetry.org/docs/. - This package does not come with setup.py and requirements.txt files. Instead, all dependency information is provided in the pyproject.toml and poetry.lock files.
- A development environment can be setup by running
poetry install
from within the root directory of the git repo. It will install all packages listed in the poetry.lock file and also installpython_ags4
in editable mode. (Runningpip install -e
to install the package in editable mode does not work because there is no setup.py file.) - If you want only the dependencies installed, then run
poetry install --no-root
instead. - Unit tests can be run by running
python -m pytest
from within the root directory of the git repo.
Dev directory structure:
