8

Support Wagtail 4.2 (#1)

Co-authored-by: nick.moreton <nick.moreton@torchbox.com>
Co-authored-by: Nick Moreton <nick.moreton@torchbox.com>
Reviewed-on: #1
This commit is contained in:
2023-05-07 03:25:48 +00:00
parent dd4530203f
commit b8d7dd53ae
90 changed files with 2666 additions and 1584 deletions

View File

@@ -1,66 +1,76 @@
import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=2.0',
'user-agents>=1.1.0',
'wagtailfontawesome>=1.1.3',
'pycountry',
"wagtail>=4.1",
"user-agents>=1.1.0",
"wagtailfontawesome>=1.2.1",
"pycountry",
]
tests_require = [
'factory_boy==2.8.1',
'flake8-blind-except',
'flake8-debugger',
'flake8-isort',
'flake8',
'freezegun==0.3.8',
'pytest-cov==2.5.1',
'pytest-django==4.1.0',
'pytest-pythonpath==0.7.2',
'pytest-sugar==0.9.1',
'pytest==6.1.2',
'wagtail_factories==1.1.0',
'pytest-mock==1.6.3',
"factory_boy==3.2.1",
"flake8-blind-except",
"flake8-debugger",
"flake8-isort",
"flake8",
"freezegun==1.2.1",
"pytest-cov==3.0.0",
"pytest-django==4.5.2",
"pytest-pythonpath==0.7.4",
"pytest-sugar==0.9.4",
"pytest==6.2.5",
"wagtail_factories==4.0.0",
"pytest-mock==3.8.1",
]
docs_require = [
'sphinx>=1.7.6',
'sphinx_rtd_theme>=0.4.0',
"sphinx>=1.7.6",
"sphinx_rtd_theme>=0.4.0",
]
with open('README.rst') as fh:
with open("README.rst") as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
"^.. start-no-pypi.*^.. end-no-pypi", "", fh.read(), flags=re.M | re.S
)
setup(
name='wagtail-personalisation',
version='0.15.3',
description='A Wagtail add-on for showing personalized content',
author='Lab Digital BV and others',
author_email='opensource@labdigital.nl',
url='https://labdigital.nl/',
name="wagtail-personalisation",
version="0.15.3",
description="A Wagtail add-on for showing personalized content",
author="Lab Digital BV and others",
author_email="opensource@labdigital.nl",
url="https://labdigital.nl/",
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
"docs": docs_require,
"test": tests_require,
},
packages=find_packages('src'),
package_dir={'': 'src'},
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
license='MIT',
license="MIT",
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Topic :: Internet :: WWW/HTTP :: Site Management',
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 4",
"Topic :: Internet :: WWW/HTTP :: Site Management",
],
)