-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (51 loc) · 1.94 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
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'APPNAME')) as f:
__appname__ = f.read().strip()
with open(os.path.join(here, 'requirements.txt')) as f:
required = f.read().splitlines()
with open(os.path.join(here, 'VERSION')) as f:
__version__ = f.read().strip()
extra_files = [os.path.join(here, 'APPNAME'),
os.path.join(here, 'requirements.txt'),
os.path.join(here, 'VERSION'),
os.path.join(here, 'presta', 'config', 'presta_config.yml'),
os.path.join(here, 'presta', 'config', 'celery_config.yml'),
]
AUTHOR_INFO = [
("Gianmauro Cuccuru", "[email protected]"),
]
MAINTAINER_INFO = [
("Gianmauro Cuccuru", "[email protected]"),
("Rossano Atzeni", "[email protected]"),
]
AUTHOR = ", ".join(t[0] for t in AUTHOR_INFO)
AUTHOR_EMAIL = ", ".join("<%s>" % t[1] for t in AUTHOR_INFO)
MAINTAINER = ", ".join(t[0] for t in MAINTAINER_INFO)
MAINTAINER_EMAIL = ", ".join("<%s>" % t[1] for t in MAINTAINER_INFO)
setup(name=__appname__,
version=__version__,
description="Utility to process sequencing data",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
install_requires=required,
packages=find_packages(),
package_data={'': extra_files},
zip_safe=False,
license='MIT',
platforms="Posix; MacOS X; Windows",
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Utilities",
"Programming Language :: Python :: 2.7"],
entry_points={
'console_scripts': [
'presta=presta.main:main',
],
},
)