-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·69 lines (64 loc) · 2.29 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
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
import sys
py_v = sys.version_info[:2]
if not (py_v == (2, 7) or py_v >= (3, 3)):
sys.exit('Only Python 2.7 or 3.3 and up are supported. Current version: ' + '.'.join(py_v))
from os.path import join, isfile, abspath, dirname
name = 'targqc'
script_name = 'targqc'
package_name = 'targqc'
from setuptools import setup, find_packages
from targqc.utilz import setup_utils
version = setup_utils.init(package_name, package_name, __file__)
setup(
name=name,
version=version,
author='Vlad Saveliev and Alla Mikheenko',
author_email='vladislav.sav@gmail.com',
description='Genome capture target coverage evaluation tool',
long_description=(open('README.md').read()),
keywords='bioinformatics',
url='https://github.com/vladsaveliev/TargQC',
download_url='https://github.com/vladsaveliev/TargQC/releases',
license='GPLv3',
packages=find_packages(),
package_data={
package_name: setup_utils.find_package_files('', package_name, skip_exts=['.sass', '.coffee']),
'ensembl': [
'hg19/ensembl.bed.gz',
'hg19/ensembl.bed.gz.tbi',
'hg19/canon_transcripts_hg19_ensembl.txt',
'hg38/ensembl.bed.gz',
'hg38/ensembl.bed.gz.tbi',
'hg38/canon_transcripts_hg38_ensembl.txt',
'canon_cancer_replacement.txt',
]
},
include_package_data=True,
zip_safe=False,
scripts=[
join('scripts', script_name),
join('scripts', 'annotate_bed.py'),
join('scripts', 'cols'),
join('scripts', 'tsv'),
join('scripts', 'tabutils'),
],
install_requires=setup_utils.get_reqs(),
setup_requires=['numpy'],
classifiers=[
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: JavaScript',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
test_suite='nose.collector',
tests_require=['nose'],
)