Skip to content

Commit

Permalink
try: dynamic version
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
  • Loading branch information
ab93 committed Jun 13, 2024
1 parent 4866d1f commit 326dce0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
defaults:
run:
working-directory: ./libs/numalogic-core
name: Build distribution
name: numalogic-core
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
defaults:
run:
working-directory: ./libs/numalogic-connectors
name: Build distribution
name: numalogic-connectors
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
defaults:
run:
working-directory: ./libs/numalogic-registry
name: Build distribution
name: numalogic-registry
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
5 changes: 3 additions & 2 deletions libs/numalogic-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "numalogic"
version = "0.12.0.dev1"
# version = "0.12.0.dev1"
description = "Collection of operational Machine Learning models and tools."
authors = [
{name = "Numalogic Developers"}
Expand All @@ -25,14 +25,15 @@ classifiers = [
"Programming Language :: Python :: 3.12"
]
requires-python = ">= 3.9"
dynamic = ["", "dependencies", "optional-dependencies"]
dynamic = ["version", "dependencies", "optional-dependencies"]

[project.urls]
Repository = "https://github.com/numaproj/numalogic"
Documentation = "https://numalogic.numaproj.io/"
Homepage = "https://numalogic.numaproj.io/"

[tool.setuptools.dynamic]
version = {file = "../VERSION"}
dependencies = {file = ["requirements/requirements.txt"]}
optional-dependencies = {dev = { file = ["requirements/requirements-dev.txt"] }, jupyter = { file = ["requirements/requirements-nb.txt"] }}

Expand Down

0 comments on commit 326dce0

Please sign in to comment.