-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
59 lines (54 loc) · 1.97 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import setuptools
import os
directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
setuptools.setup(
name='wagtail-pdf-view',
version='1.0.0',
description='PDF rendering views for the Wagtail CMS',
long_description=long_description,
long_description_content_type='text/markdown',
author='Jonas Donhauser',
#author_email='',
url='https://github.com/donhauser/wagtail-pdf',
packages=['wagtail_pdf_view'],
package_data={
'': ['LICENSE']
+ package_files('wagtail_pdf_view/templates')
+ package_files('wagtail_pdf_view/static')
},
include_package_data=True,
python_requires=">=3.8",
install_requires=["wagtail", "django-weasyprint"],
extras_require = {
'django-tex':["django-tex"],
},
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 4",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)