-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (71 loc) · 2.7 KB
/
setup.py
File metadata and controls
78 lines (71 loc) · 2.7 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# Copyright 2018 Odom Lab, CRUK-CI, University of Cambridge
#
# This file is part of the osqpipe python package.
#
# The osqpipe python package is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# The osqpipe python package is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the osqpipe python package. If not, see
# <http://www.gnu.org/licenses/>.
import os
import re
import multiprocessing # workaround for Python bug. See http://bugs.python.org/issue15881#msg170215
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
SCRIPTS = [ os.path.join('bin', x) for x in os.listdir('bin') if re.search('\.py$', x) ]
# I'm not planning on installing the util/*.py scripts by default.
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='osqpipe',
version='0.4.0',
packages=find_packages(),
include_package_data=True,
license='GPLv3 License',
description='Sequencing data analysis pipeline code and management web application as used by the Odom lab.',
long_description=README,
url='http://openwetware.org/wiki/Odom_Lab',
author='Tim Rayner',
author_email='tim.rayner@cruk.cam.ac.uk',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPLv3 License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
test_suite='nose.collector',
scripts=SCRIPTS,
install_requires=[
'osqutil>=0.2.0', # Functions relying only on core python modules.
'Django==1.8.7',
'django-sitetree',
'django-dbarray',
'django-auth-ldap',
'djangorestframework',
'psycopg2',
'fuzzy',
'pysam',
'gnuplot-py', # N.B. package not on PyPI, so can't be auto-installed.
'requests',
'beautifulsoup4',
'lxml',
'xlrd', # Excel spreadsheet support.
'markdown', # REST browseable API support
],
zip_safe=False, # Prevents zipping of the installed egg, important for accessing django templates.
)