-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (53 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
62
63
64
from distutils.core import setup, Extension
import numpy, glob
module1 = Extension('biopy.cchelp',
include_dirs = [numpy.get_include()],
sources = ['biopy/cchelp.cc'])
module2 = Extension('biopy.cnexus',
sources = ['biopy/cnexus.c'])
module3 = Extension('biopy.treesset',
sources = ['biopy/treesset.cc'],
extra_compile_args=['-std=c++0x', '-Wno-invalid-offsetof'])
module4 = Extension('biopy.neutralsim',
sources = ['biopy/neutralsim.cc'],
extra_compile_args=['-std=c++0x'])
module5 = Extension('biopy.calign',
sources = ['biopy/calign.cc'],
extra_compile_args=['-std=c++0x'])
module7 = Extension('biopy.aalign',
sources = ['biopy/aalign.cc'],
extra_compile_args=['-std=c++0x'])
module6 = Extension('biopy.cclust',
sources = ['biopy/cclust.cc'],
extra_compile_args=['-std=c++0x'])
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python",
"Programming Language :: C",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
from biopy import __version__
setup (name = 'biopy',
version = __version__,
description = 'Bioinformatics Python utilities',
long_description = 'Bioinformatics Python utilities',
author = 'Joseph Heled',
author_email = '[email protected]',
url = 'http://http://code.google.com/p/biopy/',
license = 'LGPL (V3)',
classifiers = classifiers,
platforms = ["Linux", "Mac OS-X"],
packages = ['biopy'],
package_dir={'biopy': 'biopy'},
ext_modules = [module1,module2,module3,module4,module5,module6,module7],
scripts = glob.glob('scripts/*'),
data_files=[('doc',glob.glob('html/*.*')),
('doc/_images', glob.glob('html/_images/*.*')),
('doc/_images/math', glob.glob('html/_images/math/*.*')),
('doc/_static', glob.glob('html/_static/*.*')),
('biopy', ['biopy/readseq.h','biopy/seqslist.cc'])]
)