-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
50 lines (39 loc) · 1.68 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version():
with open(path.join(here, "savnet/version.py"), encoding = 'utf-8') as hin:
for line in hin:
if line.startswith("__version__"):
version = line.partition('=')[2]
return version.strip().strip('\'"')
raise ValueError('Could not find version.')
setup(
name = 'savnet',
version = get_version(),
description='Python tools for detecting mutations causing splicing changes',
long_description=long_description,
long_description_content_type='text/markdown',
url = 'https://github.com/friend1ws/SAVNet',
author = 'Yuichi Shiraishi',
author_email = '[email protected]',
license = 'GPLv3',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
packages = find_packages(exclude = ['tests', 'doc', 'docker']),
# package_data={'sv_utils': ['data/*']},
install_requires = ["annot_utils>=0.3.0", "pysam>=0.9.0", "junc_utils>=0.5.0", "intron_retention_utils>=0.6.0", "chimera_utils>=0.6.0"],
entry_points = {'console_scripts': ['savnet = savnet:main']}
)