-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
55 lines (50 loc) · 1.79 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
def get_files(directory):
file_list = []
for root, dirs, files in os.walk(directory):
for file in files:
file_path = os.path.join(root, file)
file_list.append(file_path)
return file_list
VERSION = '1.2.4.1'
install_requires = ['ete4', 'selenium', 'biopython','scipy']
example_files = get_files('examples/')
test_files = get_files('tests/')
long_description = open("README.md").read()
setup(
name='TreeProfiler',
version=VERSION,
# metadata for upload to PyPI
description='TreeProfiler is command-line tool for profiling metadata table into phylogenetic tree with descriptive analysis and output visualization',
long_description=long_description,
long_description_content_type='text/markdown',
author='Ziqi Deng, Jaime Huerta-Cepas',
author_email='[email protected], [email protected]',
maintainer = 'Ziqi Deng',
maintainer_email = '[email protected]',
url="https://github.com/compgenomicslab/MetaTreeDrawer",
#package_dir = {'treeprofiler' : '' },
packages=find_packages(),
package_data = {
'treeprofiler' : [
'treeprofiler/*',
'layouts/pfam2color.json',
'layouts/smart2color.json',
],
},
#scripts=['treeprofiler.py'],
entry_points = {
'console_scripts': [
'treeprofiler=treeprofiler.treeprofiler:main',
'treeprofiler-desktop=treeprofiler.app:start_server', # Link to app.py's start_server
]
},
data_files=[
('examples', example_files),
('tests', test_files)
],
install_requires=install_requires,
keywords = "tree annotation, tree visualization, phylogeny, phylogenetics, phylogenomics",
)