|
12 | 12 |
|
13 | 13 | from setuptools import find_packages, setup # type: ignore[import-untyped] |
14 | 14 |
|
15 | | -from codeforlife import DATA_DIR, __version__ |
| 15 | +from codeforlife import DATA_DIR, TEMPLATES_DIR, __version__ |
16 | 16 | from codeforlife.user import FIXTURES_DIR as USER_FIXTURES_DIR |
| 17 | +from codeforlife.user import TEMPLATES_DIR as USER_TEMPLATES_DIR |
17 | 18 |
|
18 | 19 | # Get the absolute path of the package. |
19 | 20 | PACKAGE_DIR = os.path.dirname(__file__) |
@@ -91,7 +92,12 @@ def parse_requirements(packages: t.Dict[str, t.Dict[str, t.Any]]): |
91 | 92 | # TODO: exclude test files |
92 | 93 | packages=find_packages(exclude=["tests", "tests.*"]), |
93 | 94 | include_package_data=True, |
94 | | - data_files=[get_data_files(DATA_DIR), get_data_files(USER_FIXTURES_DIR)], |
| 95 | + data_files=[ |
| 96 | + get_data_files(DATA_DIR), |
| 97 | + get_data_files(USER_FIXTURES_DIR), |
| 98 | + get_data_files(TEMPLATES_DIR), |
| 99 | + get_data_files(USER_TEMPLATES_DIR), |
| 100 | + ], |
95 | 101 | package_data={"codeforlife": ["py.typed"]}, |
96 | 102 | python_requires="==3.12.*", |
97 | 103 | install_requires=install_requires, |
|
0 commit comments