mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-07 12:56:26 +00:00
Fix #4303. Declare dependencies for ifctester.
This commit is contained in:
@@ -1,3 +1,21 @@
|
|||||||
|
# bSDD - Python bSDD library
|
||||||
|
# Copyright (C) 2021 Dion Moult <dion@thinkmoult.com>
|
||||||
|
#
|
||||||
|
# This file is part of bSDD.
|
||||||
|
#
|
||||||
|
# bSDD is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# bSDD is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with bSDD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
VERSION:=`date '+%y%m%d'`
|
VERSION:=`date '+%y%m%d'`
|
||||||
SED:=sed -i
|
SED:=sed -i
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ classifiers = [
|
|||||||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
||||||
]
|
]
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
geometry = ["mathutils", "shapely"]
|
geometry = ["mathutils", "shapely", "numpy"]
|
||||||
date = ["isodate", "dateutil"]
|
date = ["isodate", "dateutil"]
|
||||||
[project.urls]
|
[project.urls]
|
||||||
"Homepage" = "http://ifcopenshell.org"
|
"Homepage" = "http://ifcopenshell.org"
|
||||||
|
|||||||
@@ -21,11 +21,9 @@ import sys
|
|||||||
import math
|
import math
|
||||||
import logging
|
import logging
|
||||||
import datetime
|
import datetime
|
||||||
import numpy as np
|
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util.unit
|
import ifcopenshell.util.unit
|
||||||
import ifcopenshell.util.element
|
import ifcopenshell.util.element
|
||||||
import ifcopenshell.util.placement
|
|
||||||
|
|
||||||
cwd = os.path.dirname(os.path.realpath(__file__))
|
cwd = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
||||||
@@ -431,6 +429,8 @@ class Bcf(Json):
|
|||||||
]
|
]
|
||||||
|
|
||||||
def to_file(self, filepath: str) -> None:
|
def to_file(self, filepath: str) -> None:
|
||||||
|
import numpy as np
|
||||||
|
import ifcopenshell.util.placement
|
||||||
from bcf.v2.bcfxml import BcfXml
|
from bcf.v2.bcfxml import BcfXml
|
||||||
|
|
||||||
unit_scale = None
|
unit_scale = None
|
||||||
|
|||||||
@@ -15,9 +15,7 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = ["ifcopenshell", "dateutil", "xmlschema", "numpy"]
|
||||||
"ifcopenshell",
|
|
||||||
]
|
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "http://ifcopenshell.org"
|
Homepage = "http://ifcopenshell.org"
|
||||||
|
|||||||
Reference in New Issue
Block a user