-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (62 loc) · 1.87 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
from pathlib import Path
import re
from setuptools import setup, find_packages
module_dir = Path(__file__).resolve().parent
with open(module_dir.joinpath("necroptimade/__init__.py")) as version_file:
for line in version_file:
match = re.match(r'__version__ = "(.*)"', line)
if match is not None:
VERSION = match.group(1)
break
else:
raise RuntimeError(
f"Could not determine package version from {version_file.name} !"
)
docs_deps = [
"mkdocs~=1.1",
"mkdocs-awesome-pages-plugin~=2.5",
"mkdocs-material~=7.1",
"mkdocs-minify-plugin~=0.4.0",
"mkdocstrings~=0.15.0",
]
testing_deps = [
"pytest~=6.2",
"pytest-cov~=2.11",
"codecov~=2.1",
]
dev_deps = ["pylint~=2.8", "pre-commit~=2.11", "invoke~=1.5"] + docs_deps + testing_deps
setup(
name="necroptimade",
version=VERSION,
url="https://github.com/ml-evs/necroptimade",
license="MIT",
author="Matthew Evans",
author_email="necroptimade@ml-evs.science",
description="Dynamic and ephemeral OPTIMADE instances",
long_description=open(module_dir.joinpath("README.md")).read(),
long_description_content_type="text/markdown",
keywords="optimade jsonapi materials",
include_package_data=True,
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Database :: Front-Ends",
],
python_requires=">=3.9",
install_requires=[
"optimade[server]~=0.14",
"mongomock",
"uvicorn",
"aiofiles",
"pyyaml==5.4.1",
],
extras_require={
"dev": dev_deps,
"docs": docs_deps,
"testing": testing_deps,
},
)