-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
39 lines (36 loc) · 1.29 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
#!/usr/bin/env python
import io
from setuptools import setup, find_packages
from wagtail_advanced_form_builder import __version__
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
except ImportError:
pass
with io.open("README.md", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="wagtail-advanced-form-builder",
version=__version__,
description="Wagtail Advanced Form Builder",
long_description=long_description,
author="Richard Blake (Octave)",
author_email="[email protected]",
url="https://github.com/octavenz/wagtail-advanced-form-builder",
packages=find_packages(exclude=("build_test",)),
include_package_data=True,
license="BSD",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Framework :: Wagtail :: 4"
],
install_requires=["Django>=3.2", "Wagtail>=4", "wagtailextraicons"],
zip_safe=False,
)