Skip to content

Commit b1124c6

Browse files
Carole SudreCarole Sudre
authored andcommitted
Update setup for building
1 parent b074cdf commit b1124c6

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
numpy;
2-
scipy;
3-
scikit-learn;
4-
scikit-image;
5-
pandas;
6-
nibabel;
7-
pillow;
1+
numpy>=1.24,<3.0
2+
scipy
3+
scikit-learn
4+
scikit-image
5+
pandas
6+
nibabel
7+
pillow

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818

1919
# read install requirements from requirements.txt
2020
with open(os.path.join(source_dir, "requirements.txt")) as o:
21-
requirements = [str(r) for r in Requirement(o.read())]
21+
#requirements = {str(r).rstrip() for r in o}
22+
requirements = o.read().splitlines()
23+
24+
print(requirements)
2225

2326
setup(
2427
name="MetricsReloaded",
@@ -50,7 +53,6 @@
5053
"Programming Language :: Python :: 3.11",
5154
"Programming Language :: Python :: 3.12",
5255
"Programming Language :: Python :: 3.13",
53-
"Programming Language :: Python :: 3.14",
5456
"Topic :: Scientific/Engineering",
5557
],
5658
project_urls={

0 commit comments

Comments
 (0)