Skip to content

Commit

Permalink
Added setup.py and .cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed May 6, 2010
1 parent a74816d commit 1cf8577
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 1 deletion.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/_build/html/_sources/index.txt
Expand Up @@ -224,6 +224,11 @@ The full API reference:
.. autoclass:: OpenIDResponse
:members:

.. data:: COMMON_PROVIDERS

a dictionary of common provider name -> login URL mappings. This can
be used to implement "click button to login" functionality.

.. _Flask: http://flask.pocoo.org/
.. _OpenID: http://openid.net/
.. _python-openid: http://openidenabled.com/python-openid/
3 changes: 3 additions & 0 deletions docs/_build/html/genindex.html
Expand Up @@ -56,6 +56,9 @@ <h2 id="B">B</h2>

<h2 id="C">C</h2>
<table width="100%" class="indextable genindextable"><tr>
<td width="33%" valign="top"><dl>
<dt><a href="index.html#flaskext.openid.COMMON_PROVIDERS">COMMON_PROVIDERS (in module flaskext.openid)</a></dt>
</dl></td>
<td width="33%" valign="top"><dl>
<dt><a href="index.html#flaskext.openid.OpenIDResponse.country">country (flaskext.openid.OpenIDResponse attribute)</a></dt>
</dl></td>
Expand Down
6 changes: 6 additions & 0 deletions docs/_build/html/index.html
Expand Up @@ -472,6 +472,12 @@ <h2>API References<a class="headerlink" href="#api-references" title="Permalink

</dd></dl>

<dl class="data">
<dt id="flaskext.openid.COMMON_PROVIDERS">
<tt class="descclassname">flaskext.openid.</tt><tt class="descname">COMMON_PROVIDERS</tt><a class="headerlink" href="#flaskext.openid.COMMON_PROVIDERS" title="Permalink to this definition"></a></dt>
<dd>a dictionary of common provider name -&gt; login URL mappings. This can
be used to implement &#8220;click button to login&#8221; functionality.</dd></dl>

</div>
</div>

Expand Down
Binary file modified docs/_build/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions setup.cfg
@@ -0,0 +1,7 @@
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1

[upload_sphinx]
upload-dir = docs/_build/html
44 changes: 44 additions & 0 deletions setup.py
@@ -0,0 +1,44 @@
"""
Flask-OpenID
============
Adds OpenID support to Flask.
Links:
* `Flask-OpenID Documentation <http://packages.python.org/Flask-OpenID/>`_
* `Flask <http://flask.pocoo.org>`_
* `development version
<http://github.com/mitsuhiko/flask-openid/zipball/master#egg=Flask-OpenID-dev>`_
"""
from setuptools import setup


setup(
name='Flask-OpenID',
version='0.9',
url='http://github.com/mitsuhiko/flask-openid/',
license='BSD',
author='Armin Ronacher',
author_email='armin.ronacher@active-4.com',
description='OpenID support for Flask',
long_description=__doc__,
packages=['flaskext'],
namespace_packages=['flaskext'],
zip_safe=False,
platforms='any',
install_requires=[
'Flask',
'python-openid>=2.0'
],
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 1cf8577

Please sign in to comment.