Skip to content

Commit

Permalink
Specify package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Mar 11, 2024
1 parent 56f7d9d commit ec90193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install --verbose .[dev]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["geopandas>=0.13", "shapely>=2.0", "pyproj", "GDAL"]

[project.urls]
"Homepage" = "https://github.com/nismod/irv-datapkg"
"Bug Tracker" = "https://github.com/nismod/irv-datapkg/issues"

[tool.pytest.ini_options]
testpaths = ["tests"]

[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "flake8"]

0 comments on commit ec90193

Please sign in to comment.