Skip to content

Commit e08ebb7

Browse files
committed
chore: try publishing
1 parent bd884b7 commit e08ebb7

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,12 @@ jobs:
363363
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true'
364364

365365
runs-on: ubuntu-latest
366-
#environment: Publish
367-
environment: testpublish
366+
environment: Publish
367+
#environment: testpublish
368368
permissions:
369369
# IMPORTANT: this permission is mandatory for Trusted Publishing
370370
id-token: write
371-
#needs: [linux, windows, macos_x86, macos_aarch64, sdist]
372-
needs: [linux, macos_aarch64, sdist]
371+
needs: [linux, windows, macos_x86, macos_aarch64, sdist]
373372
steps:
374373
- uses: actions/download-artifact@v4
375374
with:
@@ -389,6 +388,6 @@ jobs:
389388

390389
- name: Publish package distributions to PyPI
391390
uses: pypa/gh-action-pypi-publish@release/v1
392-
with:
393-
repository-url: https://test.pypi.org/legacy/
394-
verbose: true
391+
#with:
392+
# repository-url: https://test.pypi.org/legacy/
393+
# verbose: true

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
requires = ["maturin>=1.7.4,<2.0","uniffi_bindgen>=0.28,<0.30"]
33
build-backend = "maturin"
44

5+
[tool.maturin]
6+
module-name = "c2pa"
7+
58
[project]
6-
name = "c2pa"
9+
name = "c2pa-python"
710
dependencies = ["cffi"]
811
requires-python = ">=3.7"
912
description = "Python bindings for the C2PA Content Authenticity Initiative (CAI) library"

0 commit comments

Comments
 (0)