-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (53 loc) · 2.07 KB
/
setup.py
File metadata and controls
55 lines (53 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
if __name__ == "__main__":
try:
with open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(name='georastertools',
version="0.8.0",
description="Collection of tools for raster data",
long_description=long_description,
long_description_content_type="text/x-rst",
classifiers=[],
keywords='',
author=u"Olivier Queyrut",
author_email="",
url="https://github.com/CNES/rastertools",
packages=find_packages(exclude=['tests']),
package_data={"eolab.georastertools": ["**/*.json"]},
include_package_data=True,
zip_safe=False,
setup_requires=["setuptools_scm"],
install_requires=[
'click>=8.2',
'rasterio',
'pytest>=3.6',
'pytest-cov',
'geopandas>=0.13',
'kiwisolver>=1.4.5',
'matplotlib>=3.7.3',
'packaging>=24.1',
'fiona>=1.9.6',
'sphinx_rtd_theme>=3.0.1',
'sphinx>=7.1.2',
'scipy',
'pyscaffold',
'gdal>=3.5.0,<3.10',
'tqdm>=4.66',
'numpy<2'
],
entry_points="""
[rasterio.rio_plugins]
georastertools=eolab.georastertools.main:georastertools
""",
python_requires='>=3.8.13',
use_scm_version={"version_scheme": "no-guess-dev"})
except: # noqa
print(
"\n\nAn error occurred while building the project, "
"please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n"
)
raise