-
Notifications
You must be signed in to change notification settings - Fork 63
/
setup.py
40 lines (37 loc) · 1.31 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
# -*- coding: utf-8 -*-
from setuptools import find_namespace_packages, setup
from emmet.core._version import __version__ as fallback_version
if "+" in fallback_version:
fallback_version = fallback_version.split("+")[0]
setup(
name="emmet-core",
use_scm_version={
"root": "..",
"relative_to": __file__,
"write_to": "emmet-core/emmet/core/_version.py",
"write_to_template": '__version__ = "{version}"',
"fallback_version": fallback_version,
},
setup_requires=["setuptools_scm>=6,<8"],
description="Core Emmet Library",
author="The Materials Project",
author_email="feedback@materialsproject.org",
url="https://github.com/materialsproject/emmet",
packages=find_namespace_packages(include=["emmet.*"]),
package_data={"emmet.core.vasp.calc_types": ["*.yaml"], "emmet.core.subtrates": ["*.json"]},
include_package_data=True,
install_requires=[
"pymatgen>=2021.3,<2023.0",
"monty>=2021.3,<2023.0",
"pydantic==1.10.2",
"pybtex~=0.24",
"typing-extensions>=3.7,<5.0",
"spglib<2.0.0",
],
extras_require={
"all": ["robocrys>=0.2.7", "pymatgen-analysis-diffusion>=2022.1.15", "pymatgen-analysis-alloys>=0.0.3"],
},
python_requires=">=3.8",
license="modified BSD",
zip_safe=False,
)