-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (54 loc) · 2.27 KB
/
setup.py
File metadata and controls
61 lines (54 loc) · 2.27 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
#
# Copyright 2018 Odom Lab, CRUK-CI, University of Cambridge
#
# This file is part of the osqutil python package.
#
# The osqutil 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 osqutil 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 osqutil 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='osqutil',
version='0.3.0',
packages=find_packages(),
include_package_data=True,
license='GPLv3 License',
description='Basic utility code for logging, config, manipulating bam files etc. 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 :: Command Line',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPLv3 License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
test_suite='nose.collector',
scripts=SCRIPTS,
install_requires=[
# Do not add anything here! This package is supposed to rely on core python modules only.
],
zip_safe=False, # Prevents zipping of the installed egg, for accessing config defaults.
)