Skip to content

Commit 9101c01

Browse files
Merge pull request #54 from 20treeAI/chore/new_numpy
chore: allow numpy 2
2 parents c4ccba7 + ce35503 commit 9101c01

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"

setup.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import subprocess
2-
from codecs import open
32

4-
from setuptools import find_packages, setup
3+
from setuptools import setup
54
from setuptools.command import build_py, develop
65

76

87
def readme():
9-
with open("README.md", "r", "utf-8") as f:
8+
with open("README.md", "r", encoding="utf-8") as f:
109
return f.read()
1110

1211

@@ -42,7 +41,7 @@ def finalize_options(self):
4241
except ImportError:
4342
BdistWheel = None
4443

45-
requirements = ['numpy<2',
44+
requirements = ['numpy',
4645
'scipy',
4746
'rasterio[s3]>=1.3.8',
4847
'utm',
@@ -63,7 +62,7 @@ def finalize_options(self):
6362
}
6463

6564
setup(name="s2p",
66-
version="1.6.9",
65+
version="1.6.10",
6766
description="Satellite Stereo Pipeline.",
6867
long_description=readme(),
6968
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)