Skip to content

Commit d1ffb32

Browse files
committed
pyodide/setup.py - fix missing ifcopenshell subpackages
1 parent 4396126 commit d1ffb32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyodide/setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
from pathlib import Path
66

77
import tomllib
8-
from setuptools import Extension, setup
9-
8+
from setuptools import Extension, find_packages, setup
109

1110
REPO_FOLDER = Path(__file__).parent
1211

@@ -37,7 +36,7 @@ def get_dependencies() -> list[str]:
3736
author_email="thomas@aecgeeks.com",
3837
url="https://ifcopenshell.org",
3938
install_requires=get_dependencies(),
40-
packages=["ifcopenshell"],
39+
packages=find_packages(include=["ifcopenshell", "ifcopenshell.*"]),
4140
package_data={
4241
# "*.so" is needed to include prebuilt binary extension. Otherwise it would try to build it and fail.
4342
"ifcopenshell": ["util/schema/*.json", "util/schema/*.ifc", "*.so"],

0 commit comments

Comments
 (0)