-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (47 loc) · 1.49 KB
/
setup.py
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
import glob
from setuptools import setup, find_packages
from src.gdalos import (
__package_name__,
__author__,
__author_email__,
__license__,
__url__,
__version__,
__description__,
)
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Information Analysis',
]
__readme__ = open('README.rst', encoding="utf-8").read()
__readme_type__ = 'text/x-rst'
package_root = 'src' # package sources are under this dir
packages = find_packages(package_root) # include all packages under package_root
package_dir = {'': package_root} # packages sources are under package_root
setup(
name=__package_name__,
version=__version__,
author=__author__,
author_email=__author_email__,
license=__license__,
url=__url__,
long_description=__readme__,
long_description_content_type=__readme_type__,
description=__description__,
classifiers=classifiers,
packages=packages,
package_dir=package_dir,
install_requires=['gdal>=2.4.0', 'gdal-utils>=3.3.1', 'numpy!=1.19.4'],
extras_require={
"qt": ['fidget[qt]'],
"rf": ['pyproj>=3.1.0', 'rfmodel>=0.0.9'],
},
scripts=glob.glob('scripts/*'),
python_requires=">=3.6.0",
)