-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (71 loc) · 2.95 KB
/
setup.py
File metadata and controls
79 lines (71 loc) · 2.95 KB
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
76
77
78
79
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2010-2015, 2degrees Limited.
# All Rights Reserved.
#
# This file is part of django-pastedeploy-settings
# <https://github.com/2degrees/django-pastedeploy-settings>, which is subject
# to the provisions of the BSD at
# <http://dev.2degreesnetwork.com/p/2degrees-license.html>. A copy of the
# license should accompany this distribution. THIS SOFTWARE IS PROVIDED "AS IS"
# AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT
# NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST
# INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
#
##############################################################################
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README.rst")).read()
version = open(os.path.join(here, "VERSION.txt")).readline().rstrip()
setup(
name="django-pastedeploy-settings",
version=version,
description="Conversion of Paste Deployment configuration to Django settings",
long_description=README,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Paste",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
],
keywords="django wsgi paste pastedeploy web webtest nose nosetests",
author="2degrees Limited",
author_email="2degrees-floss@googlegroups.com",
url="http://pythonhosted.org/django-pastedeploy-settings/",
license="BSD (http://dev.2degreesnetwork.com/p/2degrees-license.html)",
packages=find_packages(exclude=["tests"]),
py_modules=["django_testing", "django_testing_recipe"],
zip_safe=False,
install_requires=[
"Django >= 1.4",
"PasteDeploy >= 1.3.3",
"Paste >= 1.7.2",
"setuptools",
],
extras_require={
'nose-buildout': ["zc.recipe.egg >= 1.2.2"],
'buildout-options': ["deployrecipes >= 1.0"],
},
test_suite="nose.collector",
entry_points="""\
[paste.app_factory]
main = django_pastedeploy_settings:get_configured_django_wsgi_app
[paste.composite_factory]
full_django = django_pastedeploy_settings.factories:make_full_django_app
[nose.plugins.0.10]
paste-deploy-config = django_testing:DjangoPastedeployPlugin
[zc.buildout]
nose = django_testing_recipe:DjangoPastedeployRecipe [nose-buildout]
django-settings = django_pastedeploy_settings.buildout_options:DecodedConfvarsRecipe [buildout-options]
""",
)