1
0
Fork 0
mirror of https://github.com/MatomoCamp/pretalx-matomocamp.git synced 2024-09-18 14:43:49 +02:00

don't load django on setup

This commit is contained in:
Lukas Winkler 2021-10-14 14:05:30 +02:00
parent d78f4fc0a9
commit 8b47ac987c
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -1,7 +1,7 @@
import os
from distutils.command.build import build
from django.core import management
# from django.core import management
from setuptools import find_packages, setup
try:
@ -13,13 +13,13 @@ except FileNotFoundError:
long_description = ""
class CustomBuild(build):
def run(self):
management.call_command("compilemessages", verbosity=1)
build.run(self)
# class CustomBuild(build):
# def run(self):
# management.call_command("compilemessages", verbosity=1)
# build.run(self)
cmdclass = {"build": CustomBuild}
# cmdclass = {"build": CustomBuild}
setup(
@ -34,7 +34,7 @@ setup(
install_requires=[],
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
cmdclass=cmdclass,
# cmdclass=cmdclass,
entry_points="""
[pretalx.plugin]
pretalx_matomocamp=pretalx_matomocamp:PretalxPluginMeta