"...PrivateStorageio.git" did not exist on "c763001c5772c4af8775dec6fd8ef3271c4e3f05"
Newer
Older
import os
from runpy import run_path
def get_version():
"""
Get the version of the version as determined by
:py:`_zkapauthorizer._version`.
Note: This only works when run from an tree generated
by git-archive (such as a tarball from github).
"""
version_path = os.path.join(
os.path.dirname(__file__), "src/_zkapauthorizer/_version.py"
)
context = run_path(version_path)
return context["__version__"]
version=get_version(),
package_data={
"": ["testing-signing.key"],
},
)