An error occurred while loading the file. Please try again.
-
Remi Cresson authored4e82fc45
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
# -*- coding: utf-8 -*-
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("scenes/__init__.py", "r", encoding="utf-8") as fh:
for line in fh.readlines():
if "__version__" in line:
version = line.split('"')[1]
assert version, "Unable to find __version__ in `scenes/__init__.py` (missing? single quotes used?)"
setuptools.setup(
name="scenes",
version=version,
author="Rémi Cresson",
author_email="remi.cresson@inrae.fr",
description="Library to ease the processing of local remote sensing products",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.irstea.fr/remi.cresson/scenes",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Image Processing",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
python_requires=">=3.6",
install_requires=["rtree", "pyotb>=1.5.2", "requests", "tqdm", "pystac-client", "appdirs"],
keywords=["remote sensing", "otb", "orfeotoolbox", "orfeo", "pyotb", "stac"],
scripts=["apps/drs_spot67_import.py", "apps/s2_download.py", "apps/s2_import.py", "apps/search.py"]
)