-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
76 lines (69 loc) · 2.12 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
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
setup.py for mydata-python
"""
import io
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
REQUIRED = [
"appdirs>=1.4",
"click>=7.0",
"netifaces>=0.10",
"psutil>=5.6",
"python-dateutil>=2.8",
"python-dotenv>=0.11.0",
"requests>=2.22",
"requests-toolbelt>=0.9",
"inflect>=5.3.0",
"asyncio>=3.4.3",
"ssh2-python>=0.26.0",
"tqdm>=4.61.1"
]
TEST_REQUIRED = [
"coverage>=4.5",
"paramiko>=2.6",
"pytest>=5.2",
"pytest-cov>=2.8",
"pytest-env>=0.6",
"requests-mock>=1.6",
]
# Load the package's __version__.py module as a dictionary.
ABOUT = {}
with io.open(os.path.join(HERE, "mydata", "__version__.py"), "r") as f:
exec(f.read(), ABOUT) # pylint: disable=exec-used
with io.open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
README = "\n" + f.read()
setup(
name=ABOUT["__title__"],
version=ABOUT["__version__"],
description=ABOUT["__description__"],
long_description=README,
long_description_content_type="text/markdown",
author=ABOUT["__author__"],
author_email=ABOUT["__author_email__"],
python_requires=">=3.7",
url=ABOUT["__url__"],
packages=find_packages(),
install_requires=REQUIRED,
extras_require={},
include_package_data=True,
license=ABOUT["__license__"],
zip_safe=False,
classifiers=[
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
],
cmdclass={},
tests_require=TEST_REQUIRED,
project_urls={"Source": "https://github.com/mytardis/mydata-python"},
entry_points={"console_scripts": ["mydata = mydata.client:run",],},
)