-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
65 lines (60 loc) · 2.21 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
from setuptools import setup
from os.path import dirname, join
import io
with open('README.md') as readme_file:
readme = readme_file.read()
def get_version(relpath):
"""Read version info from a file without importing it"""
for line in io.open(join(dirname(__file__), relpath), encoding="cp437"):
if "__version__" in line:
if '"' in line:
return line.split('"')[1]
elif "'" in line:
return line.split("'")[1]
setup(
name='singlem',
version=get_version("singlem/version.py"),
description='Novelty-inclusive microbial community profiling of shotgun metagenomes',
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/wwood/SingleM",
author='Ben Woodcroft',
license='GPL3+',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
],
keywords="metagenomics bioinformatics",
# Exclude test (and test data) since they takes up too much space.
packages=['singlem','singlem.biolib_lite'],
data_files=[(".", ["README.md", "LICENCE.txt"])],
include_package_data=True,
install_requires=(
'biopython ~= 1.84',
'extern ~= 0.4.0',
'graftm ~= 0.15.1',
'squarify ~= 0.4.0',
'sqlalchemy ~= 2.0.0',
'pandas ~= 2.2.0',
'bird_tool_utils ~= 0.4.1',
'pyranges ~= 0.1.0',
'polars ~= 1.1.0',
'tqdm ~= 4.66.0',
'pyarrow ~= 16.1.0',
'zenodo_backpack ~= 0.3.0',
),
entry_points = {
'console_scripts': ['singlem = singlem.main:main']
},
)