-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
58 lines (53 loc) · 1.74 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
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
version = {}
with open(os.path.join(here, "ms2query", "__version__.py")) as f:
exec(f.read(), version)
with open("README.md") as readme_file:
readme = readme_file.read()
setup(
name="ms2query",
version=version["__version__"],
entry_points={"console_scripts": ["ms2query=ms2query:command_line"]},
description="Tool to query MS/MS spectra against mass spectral library",
long_description_content_type="text/markdown",
long_description=readme,
author="Netherlands eScience Center",
author_email="",
url="https://github.com/iomega/ms2query",
packages=find_packages(),
include_package_data=True,
license="Apache Software License 2.0",
zip_safe=False,
test_suite="tests",
python_requires='>=3.9',
install_requires=[
"matchms>=0.24.0,<=0.26.4",
"numpy",
"spec2vec>=0.6.0",
"h5py",
"pyarrow",
"scikit-learn",
"ms2deepscore==2.0.0",
"gensim>=4.0.0",
"pandas",
"tqdm",
"matplotlib",
"skl2onnx",
"onnx<1.16.2",
"onnxruntime<1.16", # 1.16 breaks the code due to the issue https://github.com/iomega/ms2query/issues/208
],
extras_require={"dev": ["bump2version",
"isort>=5.1.0",
"prospector",
"pytest",
"pytest-cov",
"sphinx>=3.0.0,!=3.2.0,<4.0.0",
"sphinx_rtd_theme",
"sphinxcontrib-apidoc",
"yapf",
"rdkit"],
}
)