-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
71 lines (63 loc) · 2.15 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
60
61
62
63
64
65
66
67
68
69
70
71
from __future__ import absolute_import, unicode_literals
import os
from setuptools import find_packages, setup
from wagtailcaptcha import __version__
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# Testing dependencies
testing_extras = [
# Required for running the tests
"tox>=4.18.1,<4.19",
# For coverage and PEP8 linting
"coverage>=6.5.0,<6.6",
"flake8>=7.0.0,<7.1",
"isort>=5.10.1",
# For test site
"wagtail>=4.1",
]
# Documentation dependencies
documentation_extras = []
setup(
name="wagtail-django-recaptcha",
version=__version__,
packages=find_packages(),
include_package_data=True,
license="MIT",
description="A simple recaptcha field for Wagtail Form Pages.",
long_description=README,
url="http://github.com/springload/wagtail-django-recaptcha",
author="Springload",
author_email="[email protected]",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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 :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Wagtail",
"Framework :: Wagtail :: 3",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
install_requires=["django-recaptcha>=4"],
extras_require={
"testing": testing_extras,
"docs": documentation_extras,
},
zip_safe=False,
)