-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
50 lines (46 loc) · 1.87 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
""" Setup script for installation. """
import os
from setuptools import setup
# Utility function to read files. Used for the long_description.
def read(fname):
""" Easily read the data from a file for use in setup.py. """
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_version():
""" Extract the version of the package from the CHANGES file. """
version_fh = open("CHANGES", "r")
first_line = version_fh.readline().strip()
version_fh.close()
version = first_line.split()[1]
return version
setup(
name='osdf-python',
description='Python client to Open Science Data Framework (OSDF) REST servers.',
long_description='The Open Science Data Framework (OSDF) is a specialized ' + \
'document database that allows users to store, retrieve, ' + \
'query and track changes to data over time easily. ' + \
'Because the API uses JSON and REST, developers are ' + \
'able to use OSDF in the language of their choice ' + \
'because almost every language has support for ' + \
'communications via HTTP and working with JSON.',
version=get_version(),
py_modules=['osdf', 'request'],
author='Victor F',
author_email='victor73@github.com',
url='http://osdf.igs.umaryland.edu',
license='MIT',
install_requires=['jsondiff'],
scripts=[
'bin/osdf'
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
)