-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
75 lines (68 loc) · 1.96 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
72
73
74
75
#!/usr/bin/env python
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()
install_requires = [
'django-model-utils>=4.2,<4.4',
'django-recaptcha>=3.0,<3.1',
'wagtail>=4.2,<5.3',
'django>=3.2,<6'
]
test_require = [
'psycopg2',
# Required for test and coverage
'pytest',
'pytest-cov',
'pytest-django',
'pytest-pythonpath',
'coverage',
'factory-boy',
'tox',
# Linting
'flake8',
'isort',
]
docs_require = [
'sphinx',
'sphinx_rtd_theme',
]
setup(
name='wagtailformblocks',
version='0.10.1',
description="A Wagtail module that provides content blocks to display and process user defined forms",
long_description=readme,
long_description_content_type='text/x-rst',
author="Tim Leguijt",
author_email='[email protected]',
url='https://github.com/LUKKIEN/wagtailformblocks',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=install_requires,
license='BSD',
zip_safe=False,
keywords='wagtailformblocks',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'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',
'Framework :: Wagtail :: 5',
],
extras_require={
'testing': test_require,
'docs': docs_require,
},
)