-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
91 lines (85 loc) · 2.81 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
""""
robocrystallographer: Automatic generation of crystal structure descriptions.
"""
from __future__ import annotations
from os.path import join as path_join
from setuptools import find_packages, setup
with open("README.md") as file:
long_description = file.read()
with open("robocrys/_version.py") as file:
version = file.readlines()[-1].split()[-1].strip("\"'")
setup(
name="robocrys",
version=version,
description="Automatic generation of crystal structure descriptions",
url="https://github.com/hackingmaterials/robocrystallographer",
author="Alex Ganose",
author_email="[email protected]",
long_description=long_description,
long_description_content_type="text/markdown",
license="modified BSD",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering",
"Topic :: Other/Nonlisted Topic",
"Operating System :: OS Independent",
],
keywords="crystal-structure crystallography materials-science",
test_suite="nose.collector",
packages=find_packages(),
install_requires=[
"spglib>=2.5.0",
"numpy",
"scipy",
"pymatgen>=2024.1.26",
"inflect",
"networkx",
"matminer>=0.9.2",
"monty",
"pubchempy",
"pybtex",
"ruamel.yaml",
"mp-api"
],
extras_require={
"docs": [
"sphinx==5.3.0",
"sphinx-argparse==0.4.0",
"sphinx_rtd_theme==1.2.0",
"sphinx-autodoc-typehints==1.23.0",
"m2r2==0.3.2",
],
"dev": ["tqdm", "pybel", "pebble", "maggma"],
"tests": ["pytest==8.3.3", "pytest-cov==5.0.0"],
"lint": [
"coverage==7.6.1",
"codacy-coverage==1.3.11",
"pycodestyle==2.11.1",
"mypy==1.11.2",
"pydocstyle==6.1.1",
"flake8==7.1.1",
"pylint==3.3.1",
"black==24.8.0",
],
},
package_data={
"robocrys": [
path_join("condense", "mineral_db.json.gz"),
path_join("condense", "molecule_db.json.gz"),
path_join("condense", "formula_db.json.gz"),
]
},
python_requires=">=3.8",
data_files=["LICENSE", "CONTRIBUTING.rst"],
entry_points={"console_scripts": ["robocrys = robocrys.cli:main"]},
)