-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (39 loc) · 1.17 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
#!/usr/bin/env python
# Filename: setup.py
"""
thepipe setup script.
"""
from setuptools import setup
try:
import builtins
except ImportError:
import __builtin__ as builtins
# so we can detect in __init__.py that it's called from setup.py
builtins.__THEPIPE_SETUP__ = True
requirements = {}
for target in ["install", "dev"]:
with open("requirements/{}.txt".format(target)) as fobj:
requirements[target] = [l.strip() for l in fobj.readlines()]
with open("README.rst", "r") as fh:
long_description = fh.read()
setup(
name='thepipe',
url='http://github.com/tamasgal/thepipe',
description='A lightweight, general purpose pipeline framework.',
long_description=long_description,
author='Tamas Gal',
author_email='[email protected]',
packages=['thepipe'],
include_package_data=True,
platforms='any',
setup_requires=['setuptools_scm'],
use_scm_version=True,
install_requires=requirements.pop("install"),
extras_require=requirements,
python_requires='>=3.5',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
],
)