Merge pull request #1394 from KLayout/issue_1390_v2

make_stubs now automatically detects installed klayout in python environment
This commit is contained in:
Matthias Köfferlein
2023-06-02 00:19:08 +02:00
committed by GitHub
2 changed files with 36 additions and 27 deletions
+3 -6
View File
@@ -74,15 +74,12 @@ jobs:
with:
path: ./wheelhouse/*.whl
# The following was taken from https://cibuildwheel.readthedocs.io/en/stable/deliver-to-pypi/
# The following was taken from https://cibuildwheel.readthedocs.io/en/stable/deliver-to-pypi/
make_sdist:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: true # Optional, use if you have submodules
- uses: actions/checkout@v3
- name: Build SDist
run: pipx run build --sdist
@@ -105,7 +102,7 @@ jobs:
with:
user: __token__
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
upload_to_pypi:
needs: [build, make_sdist]