diff --git a/Makefile b/Makefile index 2a6f2f71..a741e292 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ # Start from clean env: Delete `.venv`, then `python3 -m venv .venv` # Pre-requisite: Python virtual environment is active (source .venv/bin/activate) -build-python: release - python3 -m venv .venv - source .venv/bin/activate - python3 -m pip install -r requirements.txt - maturin develop + +build-python: + rm -rf c2pa/c2pa + python3 -m pip uninstall -y maturin + python3 -m pip uninstall -y uniffi + python3 -m pip install -r requirements.txt + maturin develop diff --git a/c2pa/__init__.py b/c2pa/__init__.py index d4036af3..3a25a80c 100644 --- a/c2pa/__init__.py +++ b/c2pa/__init__.py @@ -13,5 +13,6 @@ from .c2pa_api import Reader, Builder, create_signer, create_remote_signer, sign_ps256 from .c2pa import Error, SigningAlg, CallbackSigner, sdk_version, version +from .c2pa.c2pa import _UniffiConverterTypeSigningAlg, _UniffiRustBuffer -__all__ = ['Reader', 'Builder', 'CallbackSigner', 'create_signer', 'sign_ps256', 'Error', 'SigningAlg', 'sdk_version', 'version', 'create_remote_signer'] \ No newline at end of file +__all__ = ['Reader', 'Builder', 'CallbackSigner', 'create_signer', 'sign_ps256', 'Error', 'SigningAlg', 'sdk_version', 'version', 'create_remote_signer', '_UniffiConverterTypeSigningAlg', '_UniffiRustBuffer']