Attempt to change PyPI name to ifcopenshell

This commit is contained in:
Dion Moult
2022-10-03 23:40:29 +11:00
parent 0eae3de6a2
commit bfcc086aad
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -60,12 +60,12 @@ jobs:
- name: Compile
run: |
pip install build
cp -r src/ifcopenshell-python src/ifcopenshell-python_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
cd src/ifcopenshell-python_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
cp -r src/ifcopenshell-python src/ifcopenshell_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
cd src/ifcopenshell_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
make dist PLATFORM=${{ matrix.config.short_name }} PYVERSION=${{ matrix.pyver }}
- name: Publish a Python distribution to PyPI
uses: ortega2247/pypi-upload-action@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: src/ifcopenshell-python_${{ matrix.config.short_name }}_${{ matrix.pyver }}/dist
packages_dir: src/ifcopenshell_${{ matrix.config.short_name }}_${{ matrix.pyver }}/dist
+3 -3
View File
@@ -87,7 +87,7 @@ else
endif
rm -rf dist/working
python -m build
cd dist && mv ifcopenshell_python-0.7.0-py3-none-any.whl ifcopenshell_python-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_python.egg-info
rm -rf dist/ifcopenshell-python-0.7.0.tar.gz
rm -rf dist/ifcopenshell.egg-info
rm -rf dist/ifcopenshell-0.7.0.tar.gz
+1 -1
View File
@@ -2,7 +2,7 @@
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ifcopenshell-python"
name = "ifcopenshell"
version = "0.7.0"
authors = [
{ name="Dion Moult", email="dion@thinkmoult.com" },