-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
55 lines (49 loc) · 1.73 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
import os
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'r') as fh:
long_description = fh.read()
with open('requirements.txt', 'r') as f:
install_requires = list()
dependency_links = list()
for line in f:
re = line.strip()
if re:
if re.startswith('git+') or re.startswith('svn+') or re.startswith('hg+'):
dependency_links.append(re)
else:
install_requires.append(re)
about = {}
with open(
os.path.join(os.path.abspath(os.path.dirname(__file__)), 'pyrallel', '__version__.py'),
'r', encoding='utf-8') as f:
exec(f.read(), about)
packages = find_packages()
setup(
name='pyrallel.lib',
version=about['__version__'],
packages=packages,
url='https://github.com/usc-isi-i2/pyrallel',
project_urls={
"Bug Tracker": "https://github.com/usc-isi-i2/pyrallel/issues",
"Documentation": "https://pyrallel.readthedocs.io",
"Source Code": "https://github.com/usc-isi-i2/pyrallel",
},
license='MIT',
author='USC/ISI',
author_email='[email protected]',
description='Yet another easy-to-use python3 parallel library for humans.',
long_description=long_description,
long_description_content_type='text/x-rst',
include_package_data=True,
install_requires=install_requires,
dependency_links=dependency_links,
classifiers=(
"Programming Language :: Python :: 3",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
)
)