Skip to content

Commit

Permalink
changed name to Flask-MimeRender (now in PyPI)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaiarocci committed Mar 1, 2012
1 parent 63d7c4e commit 746e881
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
*.pyc
Include
Scripts
Lib
Lib
dist
2 changes: 1 addition & 1 deletion MANIFEST
@@ -1,2 +1,2 @@
setup.py
src\mimerender_flask.py
src\flaskmimerender.py
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -3,12 +3,12 @@
from distutils.core import setup

setup(
name='mimerender_flask',
name='Flask-MimeRender',
version='0.1.1',
description='RESTful resource variant rendering using MIME Media-Types, for the Flask Micro Web Framework',
author='Nicola Iarocci',
author_email='nicola@nicolaiarocci.com',
url='https://github.com/nicolaiarocci/mimerender_flask',
url='https://github.com/nicolaiarocci/flask-mimerender',
license='MIT',
long_description="""
This module allows, with the use of python decorators, to transparently select a render function for an HTTP request handler's result. It uses mimeparse to parse the HTTP Accept header and select the best available representation.
Expand All @@ -25,7 +25,7 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],

py_modules=['mimerender_flask'],
py_modules=['flaskmimerender'],
package_dir={'':'src'},
requires=['flask'],
install_requires=['flask'],
Expand Down
2 changes: 1 addition & 1 deletion src/example.py
@@ -1,5 +1,5 @@
from flask import Flask, request, jsonify
from mimerender_flask import mimerender
from flaskmimerender import mimerender

render_xml = lambda message: '<message>%s</message>' % message
render_json = jsonify
Expand Down
File renamed without changes.

0 comments on commit 746e881

Please sign in to comment.