forked from SCM-NV/PLAMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
19 lines (18 loc) · 783 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from setuptools import find_packages, setup
# This minimal setup.py exists alongside the pyproject.toml for legacy reasons.
# Currently, the "artificial" prefix "scm.plams" is added to the (sub)package names, which is not supported via the pyproject.toml.
# ToDo: the package should be restructured with a directory structure that reflects this, then the setuptools package finding used.
# See: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
setup(
packages=["scm.plams"] + ["scm.plams." + i for i in find_packages(".")],
package_dir={"scm.plams": "."},
package_data={
"scm.plams": [
".flake8",
"examples/*",
"examples/**/*",
"unit_tests/*",
"unit_tests/**/*",
]
},
)