Skip to content

Commit 8de0174

Browse files
committed
split extras requirements into another installation recipe
1 parent 2070b22 commit 8de0174

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

environment.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ dependencies:
1212
- urllib3 >=2.5.0
1313
- markupsafe >=3.0.3
1414
- numpy >=1.22.2
15-
- zarr <3
15+
# extras
1616
- fiona
1717
- geotiff
18+
- netcdf4
19+
- tifffile <=2025.5.10
20+
- zarr <3.0
1821
# tests
1922
- pytest
2023
- ruff >=0.5.7

requirements-extra.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
netCDF4
2+
fiona
3+
geotiff
4+
tifffile<=2025.5.10
5+
zarr<3.0

requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
markupsafe
22
sqlalchemy
3-
fiona
4-
geotiff
5-
tifffile <=2025.5.10
6-
zarr <3
73
humanize
84
jinja2
95
jsonschema

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
with open("requirements-dev.txt") as frd:
2626
DEV_REQUIRES = frd.read().splitlines()
2727

28+
with open("requirements-extras.txt") as frd:
29+
EXTRAS_REQUIRES = frd.read().splitlines()
30+
2831
CONFIG = {
2932
"name": "pywps",
3033
"version": VERSION,
@@ -58,6 +61,7 @@
5861
"install_requires": INSTALL_REQUIRES,
5962
"extras_require": dict(
6063
dev=DEV_REQUIRES,
64+
extras=EXTRAS_REQUIRES,
6165
),
6266
"python_requires": ">=3.10,<4",
6367
"packages": find_packages(exclude=["docs", "tests.*", "tests"]),

0 commit comments

Comments
 (0)