-
Notifications
You must be signed in to change notification settings - Fork 9
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
poetrycan 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 installfrom within the root directory of the git repo. It will install all packages listed in the poetry.lock file and also installpython_ags4in editable mode. (Runningpip install -eto 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-rootinstead. - Unit tests can be run by running
python -m pytestfrom within the root directory of the git repo.
Dev directory structure: