forked from mikolmogorov/Flye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (28 loc) · 1.05 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
#(c) 2016 by Authors
#This file is a part of ABruijn program.
#Released under the BSD license (see LICENSE file)
from distutils.core import setup
from distutils.command.build import build as DistutilsBuild
import subprocess
from flye.__version__ import __version__
class MakeBuild(DistutilsBuild):
def run(self):
try:
subprocess.check_call(['make'])
except subprocess.CalledProcessError as e:
print "Compilation error: ", e
return
DistutilsBuild.run(self)
setup(name='flye',
version=__version__,
description='Fast and accurate de novo assembler for single molecule sequencing reads',
url='https://github.com/fenderglass/ABruijn',
author='Mikhail Kolmogorov',
author_email = '[email protected]',
license='BSD-3-Clause',
packages=['flye'],
package_data={'flye': ['resource/*.mat']},
scripts = ['bin/flye-assemble', 'bin/flye-polish',
'bin/flye-repeat', 'bin/flye', 'bin/flye-minimap2'],
cmdclass={'build': MakeBuild}
)