-
-
Notifications
You must be signed in to change notification settings - Fork 214
/
setup.py
38 lines (34 loc) · 1.12 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
from setuptools import setup
from glob import glob
from os.path import isfile
from Cython.Build import cythonize
setup(
name='ete4',
packages=['ete4',
'ete4/core',
'ete4/parser',
'ete4/clustering',
'ete4/treematcher',
'ete4/phylo',
'ete4/phyloxml',
'ete4/gtdb_taxonomy',
'ete4/ncbi_taxonomy',
'ete4/tools',
'ete4/evol',
'ete4/evol/parser',
'ete4/nexml',
'ete4/orthoxml',
'ete4/smartview',
'ete4/smartview/gui',
'ete4/smartview/renderer',
'ete4/smartview/renderer/layouts',
'ete4/treeview'],
ext_modules=cythonize(
glob('**/*.pyx', recursive=True),
language_level=3, # so it compiles for python3 (and not python2)
compiler_directives={'embedsignature': True}), # for call signatures
data_files=[
('share/ete4/static',
[x for x in glob('ete4/smartview/gui/static/**',
recursive=True) if isfile(x)])],
)