Skip to content

Commit 80799d8

Browse files
committed
Set version dynamically
1 parent de4940b commit 80799d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

django_tasks/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
from .exceptions import InvalidTaskBackendError
99
from .task import DEFAULT_QUEUE_NAME, ResultStatus, Task, task
1010

11+
__version__ = "0.0.0"
12+
1113
__all__ = [
1214
"tasks",
1315
"DEFAULT_TASK_BACKEND_ALIAS",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = "A reference implementation and backport of background workers and
1010
authors = [
1111
{name = "Jake Howard"},
1212
]
13-
version = "0.0.0"
13+
dynamic = ["version"]
1414
readme = "README.md"
1515
license = {file = "LICENSE"}
1616
classifiers = [

0 commit comments

Comments
 (0)