Skip to content
Snippets Groups Projects
Commit a21485d5 authored by Alain Riou's avatar Alain Riou
Browse files

dynamic __version__

parent 2d110510
Branches
No related tags found
No related merge requests found
from .core import load_model, predict, predict_from_files
__version__ = '1.1.0'
......@@ -146,4 +146,3 @@ def predict_from_files(
predictions = [p.cpu().numpy() for p in predictions]
for fmt in export_format:
export(fmt, output_file, *predictions)
......@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "pesto-pitch"
version = "1.0.0"
dynamic = ["version"]
authors = [
{name = "Alain Riou", email = "alain.riou@sony.com"}
]
......@@ -41,5 +41,8 @@ source = "https://github.com/SonyCSLParis/pesto"
[tool.pytest.ini_options]
testpaths = "tests/"
[tool.setuptools.dynamic]
version = {attr = "pesto.__version__"}
[tool.setuptools.package-data]
pesto = ["weights/*.ckpt"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment