-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1009 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
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
import os
def package_files(dir_list):
paths = []
for dir in dir_list:
for (path, directories, filenames) in os.walk(dir):
for filename in filenames:
filepath = os.path.join('..', path, filename)
paths.append(filepath)
full_path = os.path.join(path, filename)
return paths
dir_path = os.path.dirname(__file__)
extra_files = package_files([dir_path+'/phyrvm/'])
print(extra_files)
setup(
name='phyrvm',
version='1.1.0',
author="YangZiyue&ShanYongtao",
author_email="yangzy58@sysu.edu.cn",
packages=find_packages(),
package_data={'': extra_files},
install_requires=[
"Bio",
"biopython",
"DendroPy",
"matplotlib",
"numpy",
"pandas",
"regex",
"seaborn",
"tqdm",
],
entry_points={
'console_scripts': [
'phyrvm = phyrvm.__main__:main',
],
},
)