-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
33 lines (29 loc) · 1.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
from setuptools import setup, find_packages
# pypi doesn't like markdown, it needs RST.
# https://stackoverflow.com/questions/26737222/pypi-description-markdown-doesnt-work
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
long_description = open('README.md').read()
setup(
name = 'pretix-invoice-net',
version = '1.0.4',
description = 'Pretix invoice renderer plugin for NETWAYS',
long_description = long_description,
url = 'https://github.com/NETWAYS/pretix-invoice-net',
download_url = 'https://github.com/NETWAYS/pretix-invoice-net/archive/v1.0.2.tar.gz',
keywords = [ 'pretix', 'tickets', 'events', 'invoice', 'pdf' ],
author = 'NETWAYS GmbH',
author_email = '[email protected]',
license = 'Apache Software License',
# pretix already depends on invoice related packages (reportlab, etc.)
install_requires=[],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
entry_points="""
[pretix.plugin]
pretix_invoice_net=pretix_invoice_net:PretixPluginMeta
""",
)