forked from irods/python-irodsclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.6 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
from setuptools import setup, find_packages
import codecs
import os
# Get package version
version = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'irods/version.py')) as file:
exec(file.read(), version)
# Get description
with codecs.open('README.rst', 'r', 'utf-8') as file:
long_description = file.read()
setup(name='python-irodsclient',
version=version['__version__'],
author='iRODS Consortium',
author_email='support@irods.org',
description='A python API for iRODS',
long_description=long_description,
long_description_content_type='text/x-rst',
license='BSD',
url='https://github.com/irods/python-irodsclient',
keywords='irods',
classifiers=[
'License :: OSI Approved :: BSD License',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: POSIX :: Linux',
],
packages=find_packages(),
include_package_data=True,
install_requires=[
'six>=1.10.0',
'PrettyTable>=0.7.2',
'xmlrunner>=1.7.7'
# - the new syntax:
#'futures; python_version == "2.7"'
],
# - the old syntax:
extras_require={ ':python_version == "2.7"': ['futures'] }
)