-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·65 lines (58 loc) · 2.66 KB
/
setup.py
File metadata and controls
executable file
·65 lines (58 loc) · 2.66 KB
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
#!/usr/bin/env python3
"""
Copyright 2020-2025 Edgardo M. Ortiz (e.ortiz.v@gmail.com)
https://github.com/edgardomortiz/Captus
Captus' installation script
This file is part of Captus. Captus 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. Captus 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 Captus. If
not, see <http://www.gnu.org/licenses/>.
"""
# Make sure this is being run with Python 3.6 or later.
import sys
if sys.version_info.major != 3 or sys.version_info.minor < 6:
sys.exit("Error: you must execute setup.py using Python 3.6 or later")
from setuptools import setup, find_packages
# Get the program version from another file.
__version__ = "0.0.0"
exec(open("captus/version.py").read())
setup(
name="captus",
version=__version__,
url="https://github.com/edgardomortiz/Captus",
author="Edgardo M. Ortiz",
author_email="e.ortiz.v@gmail.com",
description="Tools for hybridization capture-based target enrichment: "
"Probe Design, Data Assembly, Marker Extraction and Alignment",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
package_data={"data": ["*"], "dependencies": ["scipio-1.4/*", "blat/*"]},
include_package_data=True,
entry_points={
"console_scripts": [
"captus_assembly = captus.captus_assembly:main",
"captus = captus.captus_assembly:main",
"captus_design = captus.captus_design:main",
"captusd = captus.captus_design:main",
"concatenate_alignments = captus.concatenate_alignments:main",
"most_common_target_per_locus = captus.most_common_target_per_locus:main",
"new_targets_from_alignments = captus.new_targets_from_alignments:main",
"phylo_commands = captus.phylo_commands:main",
]
},
license="GPL",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)