-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (38 loc) · 1.35 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
import setuptools
import subprocess
from warnings import warn
with open("README.md", "r") as fh:
long_description = fh.read()
try:
subprocess.check_output(['aflow','--proto=A_cF4_225_a'])
except Exception:
message = "aflow executable not found in PATH. You will not be able to run any Crystal Genome tests."
lines = "========================================================================================="
warn(message)
print()
print(lines)
print(message)
print(lines)
print()
setuptools.setup(
name="kim-tools",
version="0.1.0",
description=(
"Helper routines for writing KIM Tests"
),
author=["ilia Nikiforov, Eric Fuemmeler, Ellad Tadmor"],
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
license="CDDL",
install_requires=["ase >= 3.19.0b1", "kim-property >= 2.6.2", "kim-edn >= 1.4.1", "spglib >= 2.1.0", "kim-query >= 3.0.0"],
classifiers=[
"Development Status :: 4 - Beta"
"License :: OSI Approved :: Common Development and Distribution License 1.0 (CDDL-1.0)",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Physics",
],
include_package_data=True,
scripts=['bin/add_or_update_property']
)