Skip to content

Commit 158ff97

Browse files
authored
Merge pull request #82 from mbakker7/dev
Release 6.2.0
2 parents 3604444 + 1ed8fad commit 158ff97

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
if [ -f requirements.ci.txt ]; then pip install -r requirements.ci.txt; fi
32-
pip install flake8 pytest
33-
pip install pytest-cov
34-
pip install coveralls
35-
pip install -e .
31+
pip install -e .[ci]
3632
3733
- name: Lint with flake8
3834
run: |

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: '3.x'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
24+
pip install wheel twine build
2525
- name: Build and publish
2626
env:
2727
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2828
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2929
run: |
30-
python setup.py sdist bdist_wheel
31-
twine upload dist/*
30+
python3 -m build
31+
python3 -m twine upload --repository pypi dist/*

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maintainers = [
1515
{ name = "Davíd Brakenhoff", email = "d.brakenhoff@artesia-water.nl" },
1616
]
1717
requires-python = ">= 3.7"
18-
dependencies = ["numpy>=1.12", "scipy>=0.19", "numba>=0.39", "matplotlib>=3.0"]
18+
dependencies = ["numpy>=1.20", "scipy>=0.19", "numba>=0.39", "matplotlib>=3.0"]
1919

2020
keywords = ["hydrology", "groundwater", "model", "analytic element method"]
2121
classifiers = [
@@ -46,8 +46,11 @@ documentation = "http://mbakker7.github.io/timml/docs/builddocs/html/index.html"
4646
[project.optional-dependencies]
4747
ci = [
4848
"pytest>=4.6",
49+
"pytest-cov",
4950
"jupyter>=1.0.0",
5051
"shapely",
52+
"flake8",
53+
"coveralls",
5154
]
5255

5356
[tool.setuptools]

0 commit comments

Comments
 (0)