mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-10 21:15:49 +00:00
Use dynamic version
This commit is contained in:
parent
2e2efbff9d
commit
d54087b7d0
3 changed files with 7 additions and 2 deletions
1
pretalx_broadcast_tools/__init__.py
Normal file
1
pretalx_broadcast_tools/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
__version__ = "2.2.0"
|
|
@ -1,5 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
from django.utils.translation import gettext_lazy
|
||||
from pretalx_broadcast_tools import __version__
|
||||
|
||||
|
||||
class PluginApp(AppConfig):
|
||||
|
@ -15,7 +16,7 @@ class PluginApp(AppConfig):
|
|||
"embedded into your broadcasting software"
|
||||
)
|
||||
visible = True
|
||||
version = "2.2.0"
|
||||
version = __version__
|
||||
category = "FEATURE"
|
||||
|
||||
def ready(self):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "pretalx-broadcast-tools"
|
||||
version = "2.2.0"
|
||||
dynamic = ["version"]
|
||||
description = """
|
||||
Some tools which can be used for supporting a broadcasting software.
|
||||
This currently includes a generator for PDF printouts, a 'lower thirds'
|
||||
|
@ -35,5 +35,8 @@ repository = "https://github.com/Kunsi/pretalx-plugin-broadcast-tools.git"
|
|||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "pretalx_broadcast_tools.__version__"}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["pretalx*"]
|
||||
|
|
Loading…
Reference in a new issue