-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
75 lines (72 loc) · 2.52 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
#! /usr/bin/env python
# Copyright 2020 Open Reaction Database Project Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Installer script."""
import setuptools
with open("README.md") as f:
long_description = f.read()
if __name__ == "__main__":
setuptools.setup(
name="ord-interface",
description="Interface for the Open Reaction Database",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Open-Reaction-Database/ord-interface",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
package_data={
# NOTE(skearnes): These entries seem to be required for actions/checkout to find these files.
"ord_interface.api": ["**/*.pb.gz"],
"ord_interface.visualization": ["template.html", "template.txt"],
},
python_requires=">=3.10",
install_requires=[
"docopt>=0.6.2",
"fastapi",
"flask>=1.1.2",
"gunicorn",
"jinja2>=2.0.0",
"numpy<2",
"ord-schema==0.3.93",
"pandas>=1.0.4",
"protobuf==4.22.3",
"psycopg[binary,pool]>=3",
"psycopg2-binary>=2.8.5",
"pygithub>=1.51",
"rdkit>=2021.9.5",
"redis[hiredis]",
"requests>=2.24.0",
"setuptools",
"testing-postgresql",
"uvicorn[standard]",
],
extras_require={
"tests": [
"black>=22.3.0",
"coverage>=5.2.1",
"httpx",
"pylint>=2.13.9",
"pytest>=6.2.5",
"pytest-asyncio",
"pytest-cov>=3.0.0",
"pytype>=2022.5.19",
"tenacity",
"testing.redis",
],
},
)