-
Notifications
You must be signed in to change notification settings - Fork 194
/
setup.py
84 lines (75 loc) · 2.48 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
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
def local_version(version):
# https://github.com/pypa/setuptools_scm/issues/342
return ""
module_dir = os.path.dirname(os.path.abspath(__file__))
extras_require = {
"mpds": ["ujson", "jmespath", "httplib2", "ase", "jsonschema"],
"dscribe": ["dscribe~=2.1"],
"mdfforge": ["mdf-forge"],
"aflow": ["aflow"],
"citrine": ["citrination-client"],
"dev": [
"pytest",
"pytest-cov",
"pytest-timeout",
"coverage",
"coveralls",
"flake8",
"black",
"pylint",
"sphinx",
],
}
tests_require = [r for v in extras_require.values() for r in v]
extras_require["tests"] = tests_require
if __name__ == "__main__":
setup(
name="matminer",
use_scm_version={
"root": ".",
"relative_to": __file__,
"local_scheme": local_version,
},
setup_requires=["setuptools_scm"],
description="matminer is a library that contains tools for data mining in Materials Science",
long_description=open(os.path.join(module_dir, "README.md")).read(),
url="https://github.com/hackingmaterials/matminer",
long_description_content_type="text/markdown",
author="Anubhav Jain",
author_email="anubhavster@gmail.com",
license="modified BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
"numpy >= 1.23, < 2",
"requests ~= 2.31",
"pandas >= 1.5, < 3",
"tqdm ~= 4.66",
"pymongo ~= 4.5",
"scikit_learn ~= 1.3",
"sympy ~= 1.11",
"monty >= 2023",
"pymatgen >= 2023",
],
extras_require=extras_require,
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Topic :: Other/Nonlisted Topic",
"Topic :: Scientific/Engineering",
],
python_requires=">=3.9",
test_suite="matminer",
tests_require=tests_require,
scripts=[],
)