Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit eb6b7009f518ccf21f02a89f05b8bbd9adc79a41 Frederic Junod committed Jun 8, 2010
Showing with 87 additions and 0 deletions.
  1. +31 −0 LICENSE
  2. +3 −0 README
  3. +1 −0 flaskext/__init__.py
  4. +10 −0 flaskext/jsonify.py
  5. +42 −0 setup.py
31 LICENSE
@@ -0,0 +1,31 @@
+Copyright (c) 2010 by Frederic Junod.
+
+Some rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+* The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 README
@@ -0,0 +1,3 @@
+flask-jsonify
+
+Description goes here
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+"""
+ flaskext.jsonify
+ ~~~~~~~~~~~~~~~~
+
+ Description of the module goes here...
+
+ :copyright: (c) 2010 by Frederic Junod.
+ :license: BSD, see LICENSE for more details.
+"""
@@ -0,0 +1,42 @@
+"""
+flask-jsonify
+-------------
+
+Description goes here...
+
+Links
+`````
+
+* `documentation <http://packages.python.org/flask-jsonify>`_
+
+"""
+from setuptools import setup
+
+
+setup(
+ name='flask-jsonify',
+ version='0.1',
+ url='<enter URL here>',
+ license='BSD',
+ author='Frederic Junod',
+ author_email='frederic.junod@gmail.com',
+ description='A small Flask decorator for returning json',
+ long_description=__doc__,
+ packages=['flaskext'],
+ namespace_packages=['flaskext'],
+ zip_safe=False,
+ platforms='any',
+ install_requires=[
+ 'Flask'
+ ],
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Topic :: Software Development :: Libraries :: Python Modules'
+ ]
+)

0 comments on commit eb6b700

Please sign in to comment.