-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
73 lines (61 loc) · 2.06 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
#!/usr/bin/env python
from __future__ import absolute_import, unicode_literals
from codecs import open
from wagtailmodelchoosers import __version__
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
install_requires = [
'wagtail>=1.7,<2' # Depends on Wagtail's Django and Django RestFramework depencencies
]
# Testing dependencies
testing_extras = [
# Required for running the tests
'tox>=2.3.1,<2.4',
# For coverage and PEP8 linting
'coverage>=4.1.0,<4.2',
'flake8>=3.2.0,<3.3',
'flake8-colors>=0.1.6,<1',
'isort==4.2.5',
]
# Documentation dependencies
documentation_extras = [
]
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='wagtailmodelchoosers',
version=__version__,
description='A Wagtail app to pick generic models (rather than snippets or pages)',
author='Springload',
author_email='[email protected]',
url='https://github.com/springload/wagtailmodelchoosers',
packages=find_packages(),
include_package_data=True,
license='MIT',
long_description=readme,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT 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',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Editors :: Word Processors',
],
install_requires=install_requires,
extras_require={
'testing': testing_extras,
'docs': documentation_extras,
},
zip_safe=False,
)