upgrade to new pretix, remove download, add page links
This commit is contained in:
@@ -1,46 +1,4 @@
|
||||
import os
|
||||
from distutils.command.build import build
|
||||
|
||||
from django.core import management
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
from pretix_digital_items import __version__
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
try:
|
||||
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
except:
|
||||
long_description = ''
|
||||
|
||||
|
||||
class CustomBuild(build):
|
||||
def run(self):
|
||||
management.call_command('compilemessages', verbosity=1)
|
||||
build.run(self)
|
||||
|
||||
|
||||
cmdclass = {
|
||||
'build': CustomBuild
|
||||
}
|
||||
|
||||
|
||||
setup(
|
||||
name='pretix-digital-items',
|
||||
version=__version__,
|
||||
description='Sell digital Items by using secrets as tokens. Adds secrets to email placeholders, output secret as simple TXT file.',
|
||||
long_description=long_description,
|
||||
url='https://git.lh8.de/_Bastler/pretix-digital-items',
|
||||
author='_Bastler',
|
||||
author_email='pretix-digital-items@bstly.de',
|
||||
license='Apache',
|
||||
|
||||
install_requires=[],
|
||||
packages=find_packages(exclude=['tests', 'tests.*']),
|
||||
include_package_data=True,
|
||||
cmdclass=cmdclass,
|
||||
entry_points="""
|
||||
[pretix.plugin]
|
||||
pretix_digital_items=pretix_digital_items:PretixPluginMeta
|
||||
""",
|
||||
)
|
||||
setup()
|
||||
|
||||
Reference in New Issue
Block a user