mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Revert "Hotfix for PyPI < python 3.11". Release made.
This reverts commit d093d80698.
This commit is contained in:
@@ -135,8 +135,8 @@ endif
|
|||||||
cp ../../README.md build/
|
cp ../../README.md build/
|
||||||
cp pyproject.toml build/
|
cp pyproject.toml build/
|
||||||
ifeq ($(IS_STABLE), TRUE)
|
ifeq ($(IS_STABLE), TRUE)
|
||||||
$(SED) 's/version = "0.0.0"/version = "$(VERSION).post1"/' build/pyproject.toml
|
$(SED) 's/version = "0.0.0"/version = "$(VERSION)"/' build/pyproject.toml
|
||||||
$(SED) 's/version = "0.0.0"/version = "$(VERSION).post1"/' build/ifcopenshell/__init__.py
|
$(SED) 's/version = "0.0.0"/version = "$(VERSION)"/' build/ifcopenshell/__init__.py
|
||||||
else
|
else
|
||||||
$(SED) 's/version = "0.0.0"/version = "$(VERSION)a$(VERSION_DATE)"/' build/pyproject.toml
|
$(SED) 's/version = "0.0.0"/version = "$(VERSION)a$(VERSION_DATE)"/' build/pyproject.toml
|
||||||
$(SED) 's/version = "0.0.0"/version = "$(VERSION)-alpha$(VERSION_DATE)"/' build/ifcopenshell/__init__.py
|
$(SED) 's/version = "0.0.0"/version = "$(VERSION)-alpha$(VERSION_DATE)"/' build/ifcopenshell/__init__.py
|
||||||
@@ -146,7 +146,7 @@ endif
|
|||||||
cd build && . env/$(VENV_ACTIVATE) && $(PYTHON) -m build
|
cd build && . env/$(VENV_ACTIVATE) && $(PYTHON) -m build
|
||||||
|
|
||||||
ifeq ($(IS_STABLE), TRUE)
|
ifeq ($(IS_STABLE), TRUE)
|
||||||
mv build/dist/ifcopenshell-*.whl dist/ifcopenshell-$(VERSION).post1-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
mv build/dist/ifcopenshell-*.whl dist/ifcopenshell-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
||||||
else
|
else
|
||||||
cp build/dist/ifcopenshell-*.whl dist/ifcopenshell-$(VERSION)a$(VERSION_DATE)-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
cp build/dist/ifcopenshell-*.whl dist/ifcopenshell-$(VERSION)a$(VERSION_DATE)-$(PYVERSION)-none-$(PLATFORMTAG).whl
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user