forked from Sage-Bionetworks/synapsePythonClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (61 loc) · 2.48 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
## Installation script for Synapse Client for Python
############################################################
import sys
## check Python version, before we do anything
if sys.version_info < (2, 7, 0):
sys.stderr.write("The Synapse Client for Python requires Python 2.7 or 3.4 or higher.\n")
sys.stderr.write("Your Python appears to be version %d.%d.%d\n" % sys.version_info[:3])
sys.exit(-1)
from setuptools import setup
import json
description = """A client for Synapse, a collaborative compute space
that allows scientists to share and analyze data together.""".replace("\n", " ")
long_description = """A client for Synapse, a collaborative compute
space that allows scientists to share and analyze data
together. Synapse brings together scientific data, tools, and disease
models into a commons that enables true collaborative research. The
platform consists of a web portal, web services, and integration with
data analysis tools such as R, python, Galaxy and Java.
""".replace("\n", " ")
__version__=json.loads(open('synapseclient/synapsePythonClient').read())['latestVersion']
setup(name='synapseclient',
version=__version__,
description=description,
long_description=long_description,
url='http://synapse.sagebase.org/',
download_url="https://github.com/Sage-Bionetworks/synapsePythonClient",
author='Synapse Team',
author_email='[email protected]',
license='Apache',
packages=['synapseclient','synapseutils'],
install_requires=[
'requests>=1.2',
'six',
'future',
'backports.csv'
],
extras_require = {
'pandas': ["pandas"],
'pysftp': ["pysftp>=0.2.8"]
},
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points = {
'console_scripts': ['synapse = synapseclient.__main__:main']
},
zip_safe=False,
package_data={'synapseclient': ['synapsePythonClient']},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics'],
platforms=['any'],
)