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
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
def get_version(string):
""" Parse the version number variable __version__ from a script. """
import re
version_re = r"^__version__ = ['\"]([^'\"]*)['\"]"
version_str = re.search(version_re, string, re.M).group(1)
return version_str
setup(name='svim',
version=get_version(open('src/svim/svim').read()),
description='A structural variant caller for long reads.',
long_description=long_description,
url='https://github.com/eldariont/svim',
author='David Heller',
author_email='heller_d@molgen.mpg.de',
license='GPLv3',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6'
],
keywords='svim SV PacBio structural variation caller',
packages = find_packages("src"),
package_dir = {"": "src"},
data_files = [("", ["LICENSE"])],
zip_safe=False,
install_requires=['pysam>=0.15.2',
'numpy',
'scipy',
'matplotlib>=3.3.0',
'edlib',
'pyspoa>=0.0.6',
'py-cpuinfo>=7.0.0'],
scripts=['src/svim/svim'])
|