-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.43 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.43 KB
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
from setuptools import setup, find_packages
import fastroot
from os import walk, listdir
from os.path import join, normpath, isfile
def recursive_list_dir(path):
listing=[]
for x in walk(path):
if isfile(x[0]):
listing.append(x[0].split(path+'/')[1])
for y in listdir(x[0]):
z = normpath(join(x[0],y))
if isfile(z):
listing.append(z.split(path+'/')[1])
return listing
param = {
'name': fastroot.PROGRAM_NAME,
'version': fastroot.PROGRAM_VERSION,
'author': fastroot.PROGRAM_AUTHOR,
'license': fastroot.PROGRAM_LICENSE,
'package_data':{'':recursive_list_dir('fastroot_tests')},
'packages': find_packages(),
'include_package_data': True,
'scripts': ['FastRoot.py','compute_RTT.py','compute_variance.py','FastRoot_tests.py'],
'zip_safe': True,
'install_requires': ['treeswift>=1.1.14', 'cvxopt>=1.2.5', 'numpy>=1.19.0'],
'keywords': 'Phylogenetics Evolution Biology',
'classifiers': ["Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
}
setup(**param)