-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
29 lines (26 loc) · 925 Bytes
/
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
from setuptools import setup, find_packages
# (Optional) Version reading from pyproject.toml
# import pathlib
# import toml
#
# HERE = pathlib.Path(__file__).parent
# TOML_PATH = HERE / "pyproject.toml"
# TOML_DATA = toml.load(TOML_PATH)
# VERSION = TOML_DATA["project"]["version"]
if __name__ == "__main__":
setup(
# version=VERSION # (Optional) when version is read from pyproject.toml
packages=find_packages(include=["tensorpotential", "tensorpotential.*"]),
package_data={"tensorpotential": ["resources/input_template.yaml"]},
include_package_data=True,
version="0.4.5", ### UPD in pyproject.toml to avoid confusion
scripts=[
"bin/gracemaker",
"bin/grace_models",
"bin/grace_collect",
"bin/extxyz2df",
"bin/df2extxyz",
"bin/grace_preprocess",
"bin/grace_predict",
],
)