diff --git a/modelconverter/__init__.py b/modelconverter/__init__.py index ea8db3f..ca853c8 100644 --- a/modelconverter/__init__.py +++ b/modelconverter/__init__.py @@ -1,6 +1,8 @@ import pkg_resources from luxonis_ml.utils import PUT_FILE_REGISTRY +__version__ = "0.2.0" + def load_put_file_plugins() -> None: """Registers any external put file plugins.""" diff --git a/pyproject.toml b/pyproject.toml index 52e34ed..84f7575 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,12 @@ [project] name = "modelconv" -version = "0.1.2" description = "Converter for neural models into various formats." readme = "README.md" requires-python = ">=3.8" authors = [{ name = "Luxonis", email = "support@luxonis.com" }] maintainers = [{ name = "Luxonis", email = "support@luxonis.com" }] keywords = ["ml", "onnx", "openvino", "nn", "ai", "embedded"] -dynamic = ["dependencies", "optional-dependencies"] +dynamic = ["dependencies", "optional-dependencies", "version"] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3.8", @@ -32,6 +31,7 @@ where = ["."] [tool.setuptools.dynamic] dependencies = { file = ["requirements.txt"] } +version = {attr = "modelconverter.__version__"} [tool.setuptools.dynamic.optional-dependencies] bench = { file = ["requirements-bench.txt"] }