forked from globus/globus-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (56 loc) · 2.25 KB
/
setup.py
File metadata and controls
65 lines (56 loc) · 2.25 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import warnings
import os.path
import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7):
raise NotImplementedError("""\n
##############################################################
# globus-sdk does not support python versions older than 2.7 #
##############################################################""")
# warn on older/untested python3s
# it's not disallowed, but it could be an issue for some people
if sys.version_info > (3,) and sys.version_info < (3, 4):
warnings.warn(
'Installing globus-sdk on Python 3 versions older than 3.4 '
'may result in degraded functionality or even errors.')
# single source of truth for package version
version_ns = {}
with open(os.path.join("globus_sdk", "version.py")) as f:
exec(f.read(), version_ns)
setup(name="globus-sdk",
version=version_ns["__version__"],
description="Globus SDK for Python",
long_description=open("README.rst").read(),
author="Globus Team",
author_email="support@globus.org",
url="https://github.com/globus/globus-sdk-python",
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'requests>=2.0.0,<3.0.0',
'six>=1.10.0,<2.0.0',
'pyjwt[crypto]>=1.5.3,<2.0.0'
],
extras_require={
# empty extra included to support older installs
'jwt': []
},
include_package_data=True,
keywords=["globus", "file transfer"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Communications :: File Sharing",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)