mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
pyodide/setup.py - fix missing ifcopenshell subpackages
This commit is contained in:
+2
-3
@@ -5,8 +5,7 @@ import os
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import tomllib
|
import tomllib
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, find_packages, setup
|
||||||
|
|
||||||
|
|
||||||
REPO_FOLDER = Path(__file__).parent
|
REPO_FOLDER = Path(__file__).parent
|
||||||
|
|
||||||
@@ -37,7 +36,7 @@ setup(
|
|||||||
author_email="thomas@aecgeeks.com",
|
author_email="thomas@aecgeeks.com",
|
||||||
url="https://ifcopenshell.org",
|
url="https://ifcopenshell.org",
|
||||||
install_requires=get_dependencies(),
|
install_requires=get_dependencies(),
|
||||||
packages=["ifcopenshell"],
|
packages=find_packages(include=["ifcopenshell", "ifcopenshell.*"]),
|
||||||
package_data={
|
package_data={
|
||||||
# "*.so" is needed to include prebuilt binary extension. Otherwise it would try to build it and fail.
|
# "*.so" is needed to include prebuilt binary extension. Otherwise it would try to build it and fail.
|
||||||
"ifcopenshell": ["util/schema/*.json", "util/schema/*.ifc", "*.so"],
|
"ifcopenshell": ["util/schema/*.json", "util/schema/*.ifc", "*.so"],
|
||||||
|
|||||||
Reference in New Issue
Block a user