mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
See #2762. Fix pip build.
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
|||||||
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
||||||
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
||||||
# * * * * *
|
# * * * * *
|
||||||
- cron: "49 23 1 * *" # 11min before utc midnight
|
- cron: "49 23 13 * *" # 11min before utc midnight
|
||||||
|
|
||||||
env:
|
env:
|
||||||
major: 0
|
major: 0
|
||||||
|
|||||||
@@ -96,7 +96,11 @@ else
|
|||||||
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
||||||
endif
|
endif
|
||||||
rm -rf dist/working
|
rm -rf dist/working
|
||||||
|
# distutils cannot access anything outside the cwd, so hackishly swap out the README.md
|
||||||
|
cp README.md dist/README.bak
|
||||||
|
cp ../../README.md README.md
|
||||||
python -m build
|
python -m build
|
||||||
|
cp dist/README.bak README.md
|
||||||
cd dist && mv ifcopenshell-0.7.0-py3-none-any.whl ifcopenshell-0.7.0-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
cd dist && mv ifcopenshell-0.7.0-py3-none-any.whl ifcopenshell-0.7.0-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
||||||
rm -rf dist/ifcopenshell
|
rm -rf dist/ifcopenshell
|
||||||
rm -rf dist/ifcopenshell.egg-info
|
rm -rf dist/ifcopenshell.egg-info
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ authors = [
|
|||||||
{ name="Dion Moult", email="dion@thinkmoult.com" },
|
{ name="Dion Moult", email="dion@thinkmoult.com" },
|
||||||
]
|
]
|
||||||
description = "Python bindings, utility functions, and high-level API for IfcOpenShell"
|
description = "Python bindings, utility functions, and high-level API for IfcOpenShell"
|
||||||
readme = "../../README.md"
|
readme = "README.md"
|
||||||
classifiers = [
|
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+)",
|
||||||
|
|||||||
Reference in New Issue
Block a user