From 4ae8e4c74b39317deead16c34806879822ba10b3 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 31 Aug 2022 17:18:18 +1000 Subject: [PATCH] Rename PyPi package to ifcopenshell-python due to naming conflict --- .github/workflows/ci-ifcopenshell-pypi.yml | 2 +- src/ifcopenshell-python/Makefile | 6 +++--- src/ifcopenshell-python/pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-ifcopenshell-pypi.yml b/.github/workflows/ci-ifcopenshell-pypi.yml index dd7ea201f2..ce8102ea6c 100644 --- a/.github/workflows/ci-ifcopenshell-pypi.yml +++ b/.github/workflows/ci-ifcopenshell-pypi.yml @@ -63,5 +63,5 @@ jobs: uses: ortega2247/pypi-upload-action@master with: user: __token__ - password: ${{ secrets.PYPI_TOKEN }} + password: ${{ secrets.PYPI_API_TOKEN }} packages_dir: src/ifcopenshell-python_${{ matrix.config.short_name }}_${{ matrix.pyver }}/dist diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index d78d59de86..300f10e8a4 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -77,7 +77,7 @@ else endif rm -rf dist/working python -m build - cd dist && mv ifcopenshell-0.7.0-py3-none-any.whl ifcopenshell-0.7.0-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl + cd dist && mv ifcopenshell_python-0.7.0-py3-none-any.whl ifcopenshell_python-0.7.0-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl rm -rf dist/ifcopenshell - rm -rf dist/ifcopenshell.egg-info - rm -rf dist/ifcopenshell-0.7.0.tar.gz + rm -rf dist/ifcopenshell_python.egg-info + rm -rf dist/ifcopenshell-python-0.7.0.tar.gz diff --git a/src/ifcopenshell-python/pyproject.toml b/src/ifcopenshell-python/pyproject.toml index 8d94dc23a6..a96d96a7f1 100644 --- a/src/ifcopenshell-python/pyproject.toml +++ b/src/ifcopenshell-python/pyproject.toml @@ -2,7 +2,7 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] -name = "ifcopenshell" +name = "ifcopenshell-python" version = "0.7.0" authors = [ { name="Dion Moult", email="dion@thinkmoult.com" },