mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Attempt to change PyPI name to ifcopenshell
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user