-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
109 lines (107 loc) · 2.82 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import subprocess
import os
from os import path
import sys
from setuptools import find_packages, setup
setup(
name='niclassify',
version='0.3.0a',
description='Automated insect data retrieval and classification tool',
author='Jackson Callaghan',
author_email='[email protected]',
url='https://github.com/jackson-callaghan',
packages=find_packages(),
package_data={
"": ["*.json", "*.ico", "*.jpg", "*.pdf", "*.R"],
},
setup_requires=[
"numpy==1.22.0",
],
install_requires=[
"atomicwrites==1.4.0",
"attrs==20.3.0",
"biopython==1.78",
"certifi==2023.7.22",
"chardet==3.0.4",
"clldutils==3.6.0",
"colorama==0.4.4",
"colorlog==4.6.2",
"csvw==1.8.1",
"cycler==0.10.0",
"docutils==0.16",
"ete3==3.1.2",
"flake8==3.8.4",
"idna==2.10",
"iniconfig==1.1.1",
"isodate==0.6.0",
"joblib==1.2.0",
"kiwisolver==1.3.1",
"lxml==4.9.1",
"matplotlib==3.3.3",
"mccabe==0.6.1",
"newick==1.0.0",
"numpy==1.22.0",
"packaging==20.7",
"pandas==1.2.3",
"pillow",
"pluggy==0.13.1",
"prompt-toolkit==1.0.14",
"py==1.10.0",
"pycodestyle==2.6.0",
"pyflakes==2.2.0",
"pygments==2.15.0",
"pyinquirer==1.0.3",
"pyparsing==3.0.0b1",
"pyqt5==5.15.2",
"pyqt5-sip==12.8.1",
"pytest==6.1.2",
"python-dateutil==2.8.1",
"python-nexus==2.0.1",
"pytz==2020.4",
"regex==2020.11.13",
"requests==2.31.0",
"rfc3986==1.4.0",
"scikit-learn==0.24.0",
"scipy==1.10.0",
"seaborn==0.11.0",
"six==1.15.0",
"tabulate==0.8.7",
"termcolor==1.1.0",
"threadpoolctl==2.1.0",
"toml==0.10.2",
"uritemplate==3.0.1",
"urllib3",
"userpaths==0.1.3",
"wcwidth==0.2.5",
"xlrd==1.2.0",
],
# cmdclass={
# 'install': InstallbPTP,
# },
entry_points={
'console_scripts': [
'niclassify = niclassify.__main__:main'
]
}
)
if sys.argv[1] == "install":
python_path = sys.executable
subprocess.run(
# [
# "cd",
# path.join(path.dirname(path.abspath(__file__)),
# "niclassify/bin/PTP-master"),
# "&&",
# python_path,
# "setup.py",
# "install"
# ],
'cd "{}" && "{}" setup.py install'.format(
path.join(path.dirname(path.abspath(__file__)),
"niclassify/bin/PTP-master"),
python_path,
),
cwd=path.join(path.dirname(
path.abspath((__file__))), "niclassify/bin/PTP-master"),
shell=True
)