-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathsetup.py
89 lines (79 loc) · 2.87 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
try:
from setuptools import setup
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
import trifusion
VERSION = trifusion.__version__
with open('README.md') as f:
readme = f.read()
def mcl_data_files():
"""
Automatically detects the platform and sets the appropriate mcl binary
"""
data_file = ["trifusion/data/resources/mcl/linux/mcl",
"trifusion/data/resources/mcl/MacOS/mcl",
"trifusion/data/resources/mcl/windows/64bit/mcl64.exe",
"trifusion/data/resources/mcl/windows/64bit/cygwin1.dll",
"trifusion/data/resources/mcl/windows/32bit/mcl32.exe",
"trifusion/data/resources/mcl/windows/32bit/cygwin1.dll"]
return data_file
mcl_file = mcl_data_files()
setup(
name="trifusion",
version=VERSION,
packages=["trifusion",
"trifusion.base",
"trifusion.data",
"trifusion.data.backgrounds",
"trifusion.data.resources",
"trifusion.data.resources.theme",
"trifusion.data.screens",
"trifusion.ortho",
"trifusion.process",
"trifusion.progressbar"],
package_data={"trifusion": ["*.kv"],
"trifusion.data.screens": ["*.kv"],
"trifusion.data.backgrounds": ["*.png", "*.ico"],
"trifusion.data.resources": [".desktop"]},
install_requires=[
"seaborn",
"configparser",
"pandas",
"matplotlib",
"numpy",
"psutil",
"scipy",
],
description=("Streamlining phylogenomic data gathering, processing and "
"visualization"),
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/ODiogoSilva/TriFusion",
author="Diogo N Silva",
author_email="[email protected]",
license="GPL3",
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 ("
"GPLv3)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering :: Bio-Informatics"],
data_files=mcl_file,
entry_points={
"gui_scripts": [
"TriFusion = trifusion.TriFusion:gui_exec"
],
"console_scripts": [
"orthomcl_pipeline = trifusion.orthomcl_pipeline:main",
"TriSeq = trifusion.TriSeq:main",
"TriStats = trifusion.TriStats:main"
]
},
)