mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
25 lines
988 B
Python
25 lines
988 B
Python
# setup.py is getting deprecated, but we still use it,
|
|
# because `tool.setuptools.ext-modules` is still experimental in pyproject.toml
|
|
# and we need it to get the wheel suffix right.
|
|
from setuptools import setup, Extension, find_packages
|
|
|
|
setup(
|
|
name="ifcopenshell",
|
|
version="0.8.0",
|
|
description=(
|
|
"IfcOpenShell is an open source (LGPL) software library "
|
|
"for working with the Industry Foundation Classes (IFC) file format."
|
|
),
|
|
author="Thomas Krijnen",
|
|
author_email="thomas@aecgeeks.com",
|
|
url="https://ifcopenshell.org",
|
|
packages=["ifcopenshell"],
|
|
package_data={
|
|
# "*.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"],
|
|
"": ["*.json", "*.ifc"],
|
|
},
|
|
# Has to provide extension to get the correct wheel suffix.
|
|
ext_modules=[Extension("ifcopenshell._ifcopenshell_wrapper", sources=[])],
|
|
)
|