diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..9787c3bd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index f8c1dc89..0f3689cb 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,11 @@ import subprocess -from codecs import open -from setuptools import find_packages, setup +from setuptools import setup from setuptools.command import build_py, develop def readme(): - with open("README.md", "r", "utf-8") as f: + with open("README.md", "r", encoding="utf-8") as f: return f.read() @@ -42,7 +41,7 @@ def finalize_options(self): except ImportError: BdistWheel = None -requirements = ['numpy<2', +requirements = ['numpy', 'scipy', 'rasterio[s3]>=1.3.8', 'utm', @@ -63,7 +62,7 @@ def finalize_options(self): } setup(name="s2p", - version="1.6.9", + version="1.6.10", description="Satellite Stereo Pipeline.", long_description=readme(), long_description_content_type='text/markdown',