forked from torchbox/wagtail-headless-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (53 loc) · 2.02 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
from os import path
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
version = {}
with open(
path.join(this_directory, "src", "wagtail_headless_preview", "version.py")
) as f:
exec(f.read(), version)
setup(
name="wagtail-headless-preview",
version=version["__version__"],
description="Enhance Wagtail previews in headless setups.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Dan Braghis",
author_email="[email protected]",
url="https://github.com/torchbox/wagtail-headless-preview",
project_urls={
"Changelog": "https://github.com/torchbox/wagtail-headless-preview/blob/main/CHANGELOG.md", # noqa:B950
},
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
license="BSD",
install_requires=["wagtail>=2.15"],
extras_require={"testing": ["tox", "django-cors-headers"]},
keywords=["wagtail", "django", "headless"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 2",
"Framework :: Wagtail :: 3",
"Framework :: Wagtail :: 4",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)