-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (42 loc) · 1.43 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (42 loc) · 1.43 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
# Load the eo_processing version info.
#
# Note that we cannot simply import the module, since dependencies listed
# in setup() will very likely not be installed yet when setup.py run.
#
# See:
# https://packaging.python.org/guides/single-sourcing-package-version
_version = {}
with open("src/eo_processing/_version.py") as fp:
exec(fp.read(), _version)
# Read requirements from the requirements.txt file
with open('requirements.txt') as f:
required_packages = f.read().splitlines()
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='eo_processing',
version=_version["__version__"],
author='Dr. Marcel Buchhorn',
author_email='marcel.buchhorn@vito.be',
description='EO data processing tools for openEO',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/ESA-WEED-project/eo_processing',
python_requires=">=3.12",
setup_requires=['pytest-runner'],
tests_require=[
"pytest>=8.3.4",
"pytest-xdist>=3.6.1",
"pytest-cov>=6.1.1",
"requests-mock>=1.12.1",
"rio-cogeo>=5.4.1"],
test_suite='tests',
include_package_data=True,
package_dir={'': 'src'},
package_data={'': ['resources/*', 'resources/**/*']},
packages=find_packages('src'),
zip_safe=True,
install_requires=required_packages,
)