mirror of
https://github.com/MatomoCamp/pretalx-matomocamp.git
synced 2024-09-19 15:53:48 +02:00
don't load django on setup
This commit is contained in:
parent
d78f4fc0a9
commit
8b47ac987c
1 changed files with 7 additions and 7 deletions
14
setup.py
14
setup.py
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
from distutils.command.build import build
|
from distutils.command.build import build
|
||||||
|
|
||||||
from django.core import management
|
# from django.core import management
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -13,13 +13,13 @@ except FileNotFoundError:
|
||||||
long_description = ""
|
long_description = ""
|
||||||
|
|
||||||
|
|
||||||
class CustomBuild(build):
|
# class CustomBuild(build):
|
||||||
def run(self):
|
# def run(self):
|
||||||
management.call_command("compilemessages", verbosity=1)
|
# management.call_command("compilemessages", verbosity=1)
|
||||||
build.run(self)
|
# build.run(self)
|
||||||
|
|
||||||
|
|
||||||
cmdclass = {"build": CustomBuild}
|
# cmdclass = {"build": CustomBuild}
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -34,7 +34,7 @@ setup(
|
||||||
install_requires=[],
|
install_requires=[],
|
||||||
packages=find_packages(exclude=["tests", "tests.*"]),
|
packages=find_packages(exclude=["tests", "tests.*"]),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
cmdclass=cmdclass,
|
# cmdclass=cmdclass,
|
||||||
entry_points="""
|
entry_points="""
|
||||||
[pretalx.plugin]
|
[pretalx.plugin]
|
||||||
pretalx_matomocamp=pretalx_matomocamp:PretalxPluginMeta
|
pretalx_matomocamp=pretalx_matomocamp:PretalxPluginMeta
|
||||||
|
|
Loading…
Reference in a new issue