2021-11-20 08:05:08 +00:00
|
|
|
import os
|
|
|
|
from distutils.command.build import build
|
|
|
|
|
|
|
|
from django.core import management
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
try:
|
|
|
|
with open(
|
|
|
|
os.path.join(os.path.dirname(__file__), "README.rst"), encoding="utf-8"
|
|
|
|
) as f:
|
|
|
|
long_description = f.read()
|
|
|
|
except FileNotFoundError:
|
|
|
|
long_description = ""
|
|
|
|
|
|
|
|
|
|
|
|
class CustomBuild(build):
|
|
|
|
def run(self):
|
|
|
|
management.call_command("compilemessages", verbosity=1)
|
|
|
|
build.run(self)
|
|
|
|
|
|
|
|
|
|
|
|
cmdclass = {"build": CustomBuild}
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
2021-11-22 11:09:01 +00:00
|
|
|
name="pretalx-plugin-broadcast-tools",
|
2022-11-07 05:45:21 +00:00
|
|
|
version="1.0.3",
|
2021-11-21 07:06:35 +00:00
|
|
|
description=(
|
2021-11-22 11:09:01 +00:00
|
|
|
"Some tools which can be used for supporting a broadcasting "
|
|
|
|
"software, for example a 'lower third' page which can be "
|
|
|
|
"embedded into your broadcasting software"
|
2021-11-21 07:06:35 +00:00
|
|
|
),
|
2021-11-20 08:05:08 +00:00
|
|
|
long_description=long_description,
|
2021-11-22 11:09:01 +00:00
|
|
|
url="https://github.com/Kunsi/pretalx-plugin-broadcast-tools",
|
2021-11-20 08:05:08 +00:00
|
|
|
author="kunsi",
|
|
|
|
author_email="git@kunsmann.eu",
|
|
|
|
license="Apache Software License",
|
|
|
|
install_requires=[],
|
|
|
|
packages=find_packages(exclude=["tests", "tests.*"]),
|
|
|
|
include_package_data=True,
|
|
|
|
cmdclass=cmdclass,
|
|
|
|
entry_points="""
|
|
|
|
[pretalx.plugin]
|
2021-11-22 11:09:01 +00:00
|
|
|
pretalx_broadcast_tools=pretalx_broadcast_tools:PretalxPluginMeta
|
2021-11-20 08:05:08 +00:00
|
|
|
""",
|
|
|
|
)
|