File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,37 @@ jobs:
155155 path : dist
156156 merge-multiple : true
157157
158+ - name : Remove unsupported pyodide wheel
159+ working-directory : .
160+ run : rm -f dist/*pyodide_2024_0_wasm32*.whl
161+
158162 - uses : pypa/gh-action-pypi-publish@release/v1
159163 # To test uploads to TestPyPI, uncomment the following:
160164 # with:
161165 # repository-url: https://test.pypi.org/legacy/
166+
167+ upload_testpypi :
168+ needs : [test, build_wheels, build_sdist]
169+ runs-on : ubuntu-latest
170+ # environment: pypi
171+ permissions :
172+ id-token : write
173+ # if: github.event_name == 'release' && github.event.action == 'published'
174+ # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
175+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
176+ steps :
177+ - uses : actions/download-artifact@v7
178+ with :
179+ # unpacks all CIBW artifacts into dist/
180+ pattern : cibw-*
181+ path : dist
182+ merge-multiple : true
183+
184+ - name : Remove unsupported pyodide wheel
185+ working-directory : .
186+ run : rm -f dist/*pyodide_2024_0_wasm32*.whl
187+
188+ - uses : pypa/gh-action-pypi-publish@release/v1
189+ # To test uploads to TestPyPI, uncomment the following:
190+ with :
191+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ classifiers = [
1111 " Programming Language :: Python :: Implementation :: PyPy" ,
1212]
1313dynamic = [" version" ]
14+ readme = " Readme.md"
15+ description = " Programmatically augmenting CF Standards with operational knowledge."
16+ license = " Apache-2.0"
1417
1518[dependency-groups ]
1619dev = [
@@ -21,7 +24,7 @@ dev = [
2124features = [" pyo3/extension-module" ]
2225module-name = " standard_knowledge._standard_knowledge_py"
2326python-source = " python"
24- exclude = [" README .md" ]
27+ exclude = [" Readme .md" ]
2528
2629
2730[tool .uv ]
You can’t perform that action at this time.
0 commit comments