-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (68 loc) · 2.55 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
from pathlib import Path
import setuptools
import sys
# modified from nextstrain/augur repo
min_version = (3, 6)
if sys.version_info < min_version:
error = """
Python {0} or above is required.
Make sure you have an up-to-date pip installed.
""".format('.'.join(str(n) for n in min_version)), sys.exit(error)
base_dir = Path(__file__).parent.resolve()
version_file = base_dir / "perobarosa/__version__.py"
readme_file = base_dir / "README.md"
# Eval the version file to get __version__; avoids importing our own package
with version_file.open() as f:
exec(f.read())
with readme_file.open(encoding = "utf-8") as f:
long_description = f.read()
setuptools.setup(
name = "peroba",
version = __version__,
author = "Leonardo de Oliveira Martins",
author_email = "Leonardo.de-Oliveira-Martins@quadram.ac.uk",
description = "Phylogenetic analysis pipeline for viral epigenomics at the Quadram Institute Biosciences",
long_description = long_description,
long_description_content_type = "text/markdown",
keywords = "phylogenetics, COVID19",
url = "https://github.com/quadram-institute-bioscience/peroba",
project_urls = {
"Source": "https://github.com/quadram-institute-bioscience/peroba",
},
packages = setuptools.find_packages(),
include_package_data=True,
package_data = {'peroba': ['data/*','data/report/*']},
data_files = [("", ["LICENSE"])],
python_requires = '>={}'.format('.'.join(str(n) for n in min_version)),
license='GPLv3+',
install_requires=[
'biopython >= 1.70',
'ete3',
#'pastml',
'numpy',
# 'matplotlib',
'pandas',
#'seaborn',
#'basemap',
#'geopandas',
# 'treeswift',
'xxhash >= 0.8.0', # equiv to python-xxhash 2.0.0
#'pandas_profiling',
'scikit-learn'
],
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
# Python 3 only
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6"
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
# Install a "peroba" program which calls peroba.__main__.main()
# https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
entry_points = {
"console_scripts": [ "peroba = perobarosa.peroba:main" ]
}
)