8

Wagtail 3 changes

This commit is contained in:
Alex Bridge
2022-01-28 11:53:57 +00:00
committed by nick.moreton
parent dd4530203f
commit c7eaec1315
89 changed files with 3003 additions and 1456 deletions

View File

@@ -1,37 +1,39 @@
import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=2.0',
'user-agents>=1.1.0',
'wagtailfontawesome>=1.1.3',
'pycountry',
"wagtail>=2.9,<4.0",
"user-agents>=2.2.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",
"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',
@@ -43,24 +45,29 @@ setup(
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",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 4.0",
"Topic :: Internet :: WWW/HTTP :: Site Management",
],
)