-
-
Notifications
You must be signed in to change notification settings - Fork 215
/
Copy pathsetup.py
33 lines (29 loc) · 951 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
31
32
33
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/treematcher',
'ete4/phylo',
'ete4/phyloxml',
'ete4/gtdb_taxonomy',
'ete4/ncbi_taxonomy',
'ete4/tools',
'ete4/evol',
'ete4/evol/parser',
'ete4/orthoxml',
'ete4/smartview',
'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/static/**',
recursive=True) if isfile(x)])],
)