mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
Attempt to change PyPI name to ifcopenshell
This commit is contained in:
@@ -60,12 +60,12 @@ jobs:
|
|||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
pip install build
|
pip install build
|
||||||
cp -r src/ifcopenshell-python 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-python_${{ 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 }}
|
make dist PLATFORM=${{ matrix.config.short_name }} PYVERSION=${{ matrix.pyver }}
|
||||||
- name: Publish a Python distribution to PyPI
|
- name: Publish a Python distribution to PyPI
|
||||||
uses: ortega2247/pypi-upload-action@master
|
uses: ortega2247/pypi-upload-action@master
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.PYPI_API_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
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ else
|
|||||||
endif
|
endif
|
||||||
rm -rf dist/working
|
rm -rf dist/working
|
||||||
python -m build
|
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
|
||||||
rm -rf dist/ifcopenshell_python.egg-info
|
rm -rf dist/ifcopenshell.egg-info
|
||||||
rm -rf dist/ifcopenshell-python-0.7.0.tar.gz
|
rm -rf dist/ifcopenshell-0.7.0.tar.gz
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
requires = ["setuptools>=61.0"]
|
requires = ["setuptools>=61.0"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
[project]
|
[project]
|
||||||
name = "ifcopenshell-python"
|
name = "ifcopenshell"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Dion Moult", email="dion@thinkmoult.com" },
|
{ name="Dion Moult", email="dion@thinkmoult.com" },
|
||||||
|
|||||||
Reference in New Issue
Block a user