-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
61 lines (59 loc) · 2.32 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
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, Extension, find_packages
def ext(name, sources=[], include_dirs=[], library_dirs=[], libraries=[], extra_compile_args=['-g', '-fopenmp', '-std=c99'], extra_link_args=['-g', '-fopenmp']):
return Extension(name, include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries, sources=sources, extra_compile_args=extra_compile_args, extra_link_args=extra_link_args)
setup(
name="ccmgen",
version="1.0.0",
description="Residue-residue contact prediction from correlated mutations predicted quickly and precisely",
license="AGPLv3",
author="Susann Vorberg, Stefan Seemayer, Johannes Soeding",
author_email="[email protected]",
url="https://github.com/soedinglab/ccmgen",
packages=find_packages(),
install_requires=['msgpack-python', 'numpy', 'plotly==3.0.0rc10', 'scipy', 'pandas', 'biopython', 'colorlover'],
ext_modules=[
ext(
'ccmpred.objfun.pll.cext.libpll',
sources=['ccmpred/objfun/pll/cext/pll.c']
),
ext(
'ccmpred.objfun.cd.cext.libcd',
sources=[
'ccmpred/objfun/cd/cext/cd.c',
'ccmpred/objfun/cd/cext/cdutil.c'
]
),
ext(
'ccmpred.counts.libmsacounts',
sources=['ccmpred/counts/msacounts.c']
),
ext(
'ccmpred.gaps.cext.libgaps',
sources=['ccmpred/gaps/cext/gaps.c'],
extra_compile_args=['-g','-std=c99'],
extra_link_args=['-g'],
),
ext(
'ccmpred.weighting.cext.libweighting',
sources=['ccmpred/weighting/cext/weighting.c']
),
ext(
'ccmpred.sampling.cext.libtreecd',
include_dirs=['ccmpred/objfun/cd/cext'],
sources=[
'ccmpred/objfun/cd/cext/cd.c',
'ccmpred/objfun/cd/cext/cdutil.c',
'ccmpred/sampling/cext/treecd.c',
]
),
],
entry_points={
'console_scripts': [
'ccmpred=ccmpred.scripts.run_ccmpred:main',
'ccmgen=ccmpred.scripts.run_ccmgen:main',
'ccm_replace_gaps=ccmpred.scripts.replace_gaps:main',
'ccm_plot=ccmpred.scripts.plot_ccmpred:main',
'ccm_convert_aln=ccmpred.scripts.convert:main'
]
}
)