Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 60 lines (52 sloc) 1.978 kB
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
1 ##############################################################################
2 #
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
3 # Copyright (c) 2010 Agendaless Consulting and Contributors.
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
4 # All Rights Reserved.
5 #
6 # This software is subject to the provisions of the BSD-like license at
7 # http://www.repoze.org/LICENSE.txt. A copy of the license should accompany
8 # this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
9 # EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
10 # THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
11 # FITNESS FOR A PARTICULAR PURPOSE
12 #
13 ##############################################################################
14
15 import os
16
17 from setuptools import setup, find_packages
18
19 here = os.path.abspath(os.path.dirname(__file__))
20 README = open(os.path.join(here, 'README.txt')).read()
21 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
22
b60c4d8 @rockyburt Added test to test https://github.com/Pylons/pyramid_jinja2/issues/18…
rockyburt authored
23 requires = [
1b11b1d @rockyburt Bumped requires pyramid to 1.0
rockyburt authored
24 'pyramid>=1.0',
131bb97 @tch specified dependency on Jinja>=2.5.0, as pyramid_jinja2 depends on ji…
tch authored
25 'Jinja2>=2.5.0'
b60c4d8 @rockyburt Added test to test https://github.com/Pylons/pyramid_jinja2/issues/18…
rockyburt authored
26 ]
27
f95557b @rockyburt Added wsgiref to list of requirements if not part of stdlib... for de…
rockyburt authored
28 try:
29 import wsgiref
30 except ImportError:
31 requires.append('wsgiref')
32
33
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
34 setup(name='pyramid_jinja2',
8831ea6 @rockyburt Next release will be 1.0
rockyburt authored
35 version='1.0',
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
36 description='Jinja2 template bindings for the Pyramid web framework',
3112aa9 @rockyburt Pep8 cleanups
rockyburt authored
37 long_description=README + '\n\n' + CHANGES,
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
38 classifiers=[
39 "Intended Audience :: Developers",
40 "Programming Language :: Python",
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
41 "Framework :: Pylons",
b9e2558 Prep for 0.6.
Chris McDonough authored
42 "License :: Repoze Public License",
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
43 ],
25e619b @mcdonc Paster Template
mcdonc authored
44 keywords='web wsgi pylons pyramid',
8831ea6 @rockyburt Next release will be 1.0
rockyburt authored
45 author="Rocky Burt",
5005ca2 @mcdonc fix setup.py info keywords, author_email
mcdonc authored
46 author_email="pylons-discuss@googlegroups.com",
c3d78e3 @rockyburt Changed setup.py url to point to github repo location
rockyburt authored
47 url="https://github.com/Pylons/pyramid_jinja2",
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
48 license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
49 packages=find_packages(),
50 include_package_data=True,
51 zip_safe=False,
77a3ebb @rockyburt Removed requires redundancy
rockyburt authored
52 install_requires=requires,
b60c4d8 @rockyburt Added test to test https://github.com/Pylons/pyramid_jinja2/issues/18…
rockyburt authored
53 tests_require=requires + ['WebTest'],
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
54 test_suite="pyramid_jinja2",
3112aa9 @rockyburt Pep8 cleanups
rockyburt authored
55 entry_points="""
a0bc5b3 Add a paster template for creating a Jinja2-based ``repoze.bfg``
Chris McDonough authored
56 [paste.paster_create_template]
876efcc @mcdonc first shot at converting to something usable under Pyramid
mcdonc authored
57 pyramid_jinja2_starter=pyramid_jinja2.paster:Jinja2ProjectTemplate
d361523 @rockyburt Working on testing pyramid+jinja2+i18n
rockyburt authored
58 """,
d0639a9 Jinja2 bindings for repoze.bfg.
Chris McDonough authored
59 )
Something went wrong with that request. Please try again.