Skip to content

Commit eac38a5

Browse files
committed
chore: move to pyproject
1 parent 27fbbc0 commit eac38a5

File tree

216 files changed

+208
-3150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+208
-3150
lines changed

.github/workflows/python-package-conda.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ jobs:
2828
- name: Create conda environment if needed
2929
run: |
3030
source $CONDA/etc/profile.d/conda.sh
31-
conda env create -f env_mini_v2.yml
31+
conda env create -f env_hydrodiy.yml
3232
3333
- name : Install hydrodiy package in conda env
3434
run: |
3535
source $CONDA/etc/profile.d/conda.sh
36-
conda activate env_mini_v2
36+
conda activate env_hydrodiy
3737
pip install -e .
3838
3939
- name: Run tests
4040
run: |
4141
source $CONDA/etc/profile.d/conda.sh
42-
conda activate env_mini_v2
42+
conda activate env_hydrodiy
4343
pytest --cov=hydrodiy --cov-config=.coveragerc --junitxml=junit/test-results.xml --cov-report=xml --cov-report=html hydrodiy
4444
4545
- name: Upload pytest test results
@@ -57,6 +57,6 @@ jobs:
5757
- name: Run examples
5858
run: |
5959
source $CONDA/etc/profile.d/conda.sh
60-
conda activate env_mini_v2
60+
conda activate env_hydrodiy
6161
python examples/run_all_examples.py
6262

.gitignore

+13-13
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ build
2222
*.stx
2323
.coverage
2424
examples/data/
25-
hydrodiy/gis/tests/*.png
26-
hydrodiy/gis/tests/*.png
27-
hydrodiy/gis/tests/*.kml
28-
hydrodiy/gis/tests/*.cpg
29-
hydrodiy/gis/tests/*.dbf
30-
hydrodiy/gis/tests/*.shp
31-
hydrodiy/gis/tests/*.shx
32-
hydrodiy/io/tests/script_test*
33-
hydrodiy/gis/tests/grid_test.bil
34-
hydrodiy/data/c_hydrodiy_data.c
35-
hydrodiy/stat/c_hydrodiy_stat.c
36-
hydrodiy/gis/c_hydrodiy_gis.c
37-
hydrodiy.egg-info
25+
src/hydrodiy/gis/tests/*.png
26+
src/hydrodiy/gis/tests/*.png
27+
src/hydrodiy/gis/tests/*.kml
28+
src/hydrodiy/gis/tests/*.cpg
29+
src/hydrodiy/gis/tests/*.dbf
30+
src/hydrodiy/gis/tests/*.shp
31+
src/hydrodiy/gis/tests/*.shx
32+
src/hydrodiy/io/tests/script_test*
33+
src/hydrodiy/gis/tests/grid_test.bil
34+
src/hydrodiy/data/c_hydrodiy_data.c
35+
src/hydrodiy/stat/c_hydrodiy_stat.c
36+
src/hydrodiy/gis/c_hydrodiy_gis.c
37+
src/hydrodiy.egg-info
3838
nosetests.xml
3939
nohup.out
4040
listmembers.csv

LICENSE.txt LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013 Julien Lerat
1+
Copyright (c) 2013-2100 Julien Lerat
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

MANIFEST.in

-15
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ A set of examples is provided in the folder [examples](examples).
3232

3333
# License
3434
The source code and documentation of the hydrodiy package is licensed under the
35-
[BSD license](LICENSE.txt).
35+
[BSD license](LICENSE).
3636

contributors.txt

-1
This file was deleted.

env_mini_v2.yml env_hydrodiy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: env_mini_v2
1+
name: env_hydrodiy
22
channels:
33
- conda-forge
44
- defaults
55
dependencies:
66
- cython=3.0.10
7+
- flake8=7.1.1
78
- matplotlib=3.8.4
89
- numpy=1.26.4
910
- pandas=2.2.1
@@ -16,5 +17,4 @@ dependencies:
1617
- requests=2.28.1
1718
- scipy=1.13.0
1819
- pip:
19-
- versioneer
2020
- pytest-allclose

env_mini.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)