-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·59 lines (55 loc) · 1.6 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
#!/usr/bin/env python
import os
from os.path import join
from setuptools import setup
pkg = 'oviraptor'
try:
import versionpy
except ImportError:
res = input('Installation requires versionpy. Install it now? [Y/n]')
if res.lower().startswith('n'):
raise
os.system('pip install versionpy')
import versionpy
version = versionpy.get_version(pkg)
package_data = {
pkg: versionpy.find_package_files('', pkg)
}
setup(
name=pkg,
script_name=pkg,
version=version,
author='Vlad Savelyev',
author_email='vladislav.sav@gmail.com',
description='Oncoviral integration in cancer whole genome data',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
url=f'https://github.com/umccr/{pkg}',
license='GPLv3',
packages=[pkg],
package_data=package_data,
include_package_data=True,
zip_safe=False,
install_requires=[
'versionpy',
'click',
'ngs_utils',
'numpy' # for lumpy extractSplitReads_BwaMem
],
scripts=[
join('scripts', 'oviraptor'),
],
keywords='bioinformatics',
classifiers=[
'Environment :: Console',
'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',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
)