forked from fourdigits/wagtail_textract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (64 loc) · 1.98 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
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# 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 # NOQA
except ImportError:
pass
install_requires = [
"wagtail>=2,<2.6",
"textract",
]
tests_require = [
'pytest',
'pytest-django',
'coverage',
'codecov',
]
setup(
name='wagtail-textract',
version='1.3.dev0',
description='Allow searching for text in Documents in the Wagtail content management system',
author='Kees Hink',
author_email='[email protected]',
url='https://github.com/fourdigits/wagtail_textract',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
license='BSD',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Wagtail',
'Framework :: Wagtail :: 2',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
install_requires=install_requires,
extras_require={
'test': tests_require,
},
entry_points="""""",
zip_safe=False,
cmdclass={
},
)