forked from genome/AGFusion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·39 lines (35 loc) · 1012 Bytes
/
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
import os
import re
import shutil
import site
from setuptools import setup, find_packages
VERSIONFILE = "agfusion/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
README = open('README.md').read()
setup(
version=verstr,
name='agfusion',
packages=find_packages(),
description="Python package to annotate and visualize gene fusions.",
author='Charles Murphy',
author_email='[email protected]',
license='MIT',
url='https://github.com/murphycj/AGFusion',
long_description=README,
long_description_content_type='text/markdown',
include_package_data=True,
scripts=['bin/agfusion'],
install_requires=[
'matplotlib>=1.5.0',
'pandas>=0.18.1',
'biopython>=1.67',
'future>=0.16.0',
'pyensembl>=1.1.0'
]
)