-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
85 lines (79 loc) · 3.04 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
#!/usr/bin/env python3
# Copyright (C) 2016-- Marcus Fedarko, Jay Ghurye, Todd Treangen, Mihai Pop
# Authored by Marcus Fedarko
#
# This file is part of MetagenomeScope.
#
# MetagenomeScope is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# MetagenomeScope is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MetagenomeScope. If not, see <http://www.gnu.org/licenses/>.
####
# NOTE: This file is derived from Qurro's setup.py file.
from setuptools import find_packages, setup
classes = """
Development Status :: 3 - Alpha
License :: OSI Approved :: GNU GPL 3 License
Topic :: Software Development :: Libraries
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bio-Informatics
Topic :: Scientific/Engineering :: Visualization
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Operating System :: Unix
Operating System :: POSIX
Operating System :: MacOS :: MacOS X
"""
classifiers = [s.strip() for s in classes.split("\n") if s]
description = "Visualization tool for metagenomic assembly graphs"
long_description = (
"MetagenomeScope is a web-based visualization tool for "
"metagenomic assembly graphs. It focuses on presenting "
"a hierarchical layout of the graph that emphasizes "
"a semilinear display alongside highlighting various "
"structural patterns within the graph."
)
version = "0.1.0-dev"
setup(
name="metagenomescope",
version=version,
license="GPL3",
description=description,
long_description=long_description,
author="Marcus Fedarko, Jay Ghurye, Todd Treangen, Mihai Pop",
author_email="[email protected]",
maintainer="Marcus Fedarko",
maintainer_email="[email protected]",
url="https://github.com/marbl/MetagenomeScope",
classifiers=classifiers,
packages=find_packages(),
package_data={"metagenomescope": ["support_files"]},
include_package_data=True,
# Sanity check before trying to install -- these should be installed with
# the parent conda environment
setup_requires=["numpy", "pygraphviz"],
install_requires=[
"click",
"numpy",
"networkx",
"gfapy",
"pyfastg",
"jinja2",
],
# The reason I pin the black version to at least 22.1.0 is that this
# version changes how the ** operator is formatted (no surrounding spaces,
# usually). Not being consistent causes the build to fail, hence the pin.
extras_require={
"dev": ["pytest", "pytest-cov", "flake8", "black>=22.1.0"]
},
entry_points={"console_scripts": ["mgsc=metagenomescope._cli:run_script"]},
zip_safe=False,
)