-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
62 lines (55 loc) · 2.37 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
from pathlib import Path
from setuptools import setup, find_packages
MODULE_DIR = Path(__file__).resolve().parent
REQUIREMENTS_DIR = MODULE_DIR / "requirements"
with open(MODULE_DIR.joinpath("README.md")) as handle:
README = handle.read()
with open(REQUIREMENTS_DIR.joinpath("requirements_base.txt")) as handle:
BASE = [f"{_.strip()}" for _ in handle.readlines() if " " not in _]
with open(REQUIREMENTS_DIR.joinpath("requirements_server.txt")) as handle:
SERVER = [f"{_.strip()}" for _ in handle.readlines()]
with open(REQUIREMENTS_DIR.joinpath("requirements_testing.txt")) as handle:
TESTING = [f"{_.strip()}" for _ in handle.readlines()]
with open(REQUIREMENTS_DIR.joinpath("requirements_dev.txt")) as handle:
DEV = [f"{_.strip()}" for _ in handle.readlines()] + TESTING + SERVER
setup(
name="optimade-client",
version="2023.8.30",
license="MIT License",
author="Casper Welzel Andersen",
author_email="[email protected]",
description="Voilà/Jupyter client for searching through OPTIMADE databases.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/CasperWA/voila-optimade-client",
python_requires=">=3.9",
packages=find_packages(),
include_package_data=True,
package_data={"optimade_client": ["img/*.png", "*.json"]},
install_requires=BASE,
extras_require={"dev": DEV, "testing": TESTING, "server": SERVER},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: AiiDA",
"Framework :: Jupyter",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Widget Sets",
],
entry_points={
"console_scripts": [
"optimade-client = optimade_client.cli.run:main",
],
},
)