See #2673. Bundle IfcTester for PyPI.

This commit is contained in:
Dion Moult
2023-05-09 20:49:08 +10:00
parent 3ea7e28b12
commit c5154ec594
3 changed files with 95 additions and 0 deletions
+13
View File
@@ -1,3 +1,16 @@
VERSION:=`date '+%y%m%d'`
SED:=sed -i
ifeq ($(UNAME_S),Darwin)
SED:=sed -i '' -e
endif
.PHONY: test
test:
pytest -p no:pytest-blender test
.PHONY: dist
dist:
rm -rf dist
$(SED) "s/999999/$(VERSION)/" pyproject.toml
python -m build
$(SED) "s/$(VERSION)/999999/" pyproject.toml
+25
View File
@@ -0,0 +1,25 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ifctester"
version = "0.0.999999"
authors = [
{ name="Dion Moult", email="dion@thinkmoult.com" },
]
description = "IFC model auditing tool with support for IDS"
readme = "README.md"
keywords = ["IFC", "IDS", "BIM"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
]
dependencies = [
"ifcopenshell",
]
[project.urls]
"Homepage" = "http://ifcopenshell.org"
"Bug Tracker" = "https://github.com/ifcopenshell/ifcopenshell/issues"
[tool.setuptools.packages.find]
include = ["ifctester"]
exclude = ["test*"]