forked from mikolmogorov/Flye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 993 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
#(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
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='abruijn',
version='2.2b',
description='Long read assembly via A-Bruijn graph',
url='https://github.com/fenderglass/ABruijn',
author='Mikhail Kolmogorov',
author_email = '',
license='BSD-3-Clause',
packages=['abruijn'],
package_data={'abruijn': ['resource/*.mat']},
scripts = ['bin/abruijn-assemble', 'bin/abruijn-polish',
'bin/abruijn-repeat', 'bin/abruijn', 'bin/abruijn-minimap2'],
cmdclass={'build': MakeBuild}
)