mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-12-04 18:32:44 +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.apps import AppConfig
|
||||||
from django.utils.translation import gettext_lazy
|
from django.utils.translation import gettext_lazy
|
||||||
|
from pretalx_broadcast_tools import __version__
|
||||||
|
|
||||||
|
|
||||||
class PluginApp(AppConfig):
|
class PluginApp(AppConfig):
|
||||||
|
@ -15,7 +16,7 @@ class PluginApp(AppConfig):
|
||||||
"embedded into your broadcasting software"
|
"embedded into your broadcasting software"
|
||||||
)
|
)
|
||||||
visible = True
|
visible = True
|
||||||
version = "2.2.0"
|
version = __version__
|
||||||
category = "FEATURE"
|
category = "FEATURE"
|
||||||
|
|
||||||
def ready(self):
|
def ready(self):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "pretalx-broadcast-tools"
|
name = "pretalx-broadcast-tools"
|
||||||
version = "2.2.0"
|
dynamic = ["version"]
|
||||||
description = """
|
description = """
|
||||||
Some tools which can be used for supporting a broadcasting software.
|
Some tools which can be used for supporting a broadcasting software.
|
||||||
This currently includes a generator for PDF printouts, a 'lower thirds'
|
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]
|
[tool.setuptools]
|
||||||
include-package-data = true
|
include-package-data = true
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "pretalx_broadcast_tools.__version__"}
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
include = ["pretalx*"]
|
include = ["pretalx*"]
|
||||||
|
|
Loading…
Reference in a new issue