-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (55 loc) · 1.72 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
54
55
56
57
58
59
60
61
62
63
64
65
"""Setup script for Esap."""
from __future__ import print_function
import sys
if sys.version_info < (3, 8):
print('esap requires python3 version >= 3.8.', file=sys.stderr)
sys.exit(1)
import io
import os
from setuptools import setup
packages = ['esap']
install_requires = [
'httplib2>=0.15.0,<1dev',
'lxml>=4.0.0,<5',
'oauthlib>=3.0.0,<4',
'pandas>=1.3.0,<2',
'tabulate>=0.8.10,<1',
'tqdm>=4.0.0,<5',
]
package_root = os.path.abspath(os.path.dirname(__file__))
readme_filename = os.path.join(package_root, 'README.md')
with io.open(readme_filename, encoding='utf-8') as readme_file:
readme = readme_file.read()
version = {}
with open(os.path.join(package_root, 'esap/version.py'),
mode='r',
encoding='utf-8') as fp:
exec(fp.read(), version)
version = version['__version__']
setup(
name='esap',
version=version,
description='Utilities for esa',
long_description=readme,
long_description_content_type='text/markdown',
author='kon72',
author_email='[email protected]',
url='https://github.com/kon72/esap/',
install_requires=install_requires,
python_requires='>=3.8',
packages=packages,
license='Apache 2.0',
keywords='esa api client',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
],
)