-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
executable file
·71 lines (56 loc) · 2.07 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
#!/usr/bin/env python
from setuptools import setup
import sys
def readme():
with open('README.md') as f:
return f.read()
# Add backport of futures unless Python version is 3.2 or later.
install_requires = [
'click>=6.3',
'humanfriendly>=1.44.3',
'requests>=2.9.1',
'arrow>=0.8.0',
]
if sys.version_info < (3, 2):
install_requires.append('futures>=3.0.5')
setup(
name='open-humans-api',
author='Mad Price Ball',
author_email='[email protected]',
url='https://github.com/OpenHumans/open-humans-api',
description='Tools for working with Open Humans APIs',
long_description=readme(),
long_description_content_type="text/markdown",
version='0.2.8',
license='MIT',
keywords=['open-humans'],
classifiers=[
'Environment :: Console',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Topic :: Utilities',
],
packages=['ohapi'],
entry_points={
'console_scripts': [
'ohpub-download = ohapi.command_line:public_data_download_cli',
'ohproj-download = ohapi.command_line:download_cli',
'ohproj-download-metadata = ohapi.command_line:download_metadata_cli',
'ohproj-upload = ohapi.command_line:upload_cli',
'ohproj-upload-metadata = ohapi.command_line:upload_metadata_cli',
'ohproj-oauth2-token-exchange = ohapi.command_line:oauth_token_exchange_cli',
'ohproj-oauth2-url = ohapi.command_line:oauth2_auth_url_cli',
'ohproj-message = ohapi.command_line:message_cli',
'ohproj-delete = ohapi.command_line:delete_cli',
]
},
install_requires=install_requires,
)