Skip to content

Commit

Permalink
Dynamic version (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Oct 10, 2024
1 parent f248763 commit 9f868fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions modelconverter/__init__.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"] }
Expand Down

0 comments on commit 9f868fc

Please sign in to comment.