Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BinOpAdd NameLoad BoolOpOr BoolOpAnd NameLoad BinOpMod Str NameLoad Str AugAssignAdd NameStore BoolOpOr BoolOpAnd Call AttributeLoad NameLoad attr Str Str Str While NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Return NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body While NameLoad body Assign NameStore Call NameLoad BinOpAdd NameLoad Str BoolOpOr BoolOpAnd NameLoad Str Str If UnaryOpNot NameLoad body Return NameLoad If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Str Str body Return NameLoad orelse If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Str Str body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body While NameLoad body Assign NameStore Call NameLoad BinOpAdd NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return SubscriptLoad NameLoad Index Num If CompareIn NameLoad NameLoad body If CompareEq NameLoad Str body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad Str Return BoolOpOr Call AttributeLoad Str attr NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr keyword BinOpAdd Str AttributeLoad NameLoad attr keyword AttributeLoad Call AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameStore body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad Call AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Str orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad Call AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword BinOpAdd Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad ListLoad Str Str keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad ListLoad Str Str keyword AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad ListLoad Str Str Str NameLoad Str keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad ListLoad Str keyword NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Str orelse If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Str orelse If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If UnaryOpNot CompareEq AttributeLoad NameLoad attr Str body Print Str decorator_list decorator_list FunctionDef arguments args defaults body If CompareNotIn Call NameLoad AttributeLoad NameLoad attr TupleLoad Num Num body Print Str Return Print Str Print While Num body Assign NameStore Call NameLoad Str If CompareIn Str Call AttributeLoad NameLoad attr body Break If Call NameLoad Str body Break Assign NameStore Call NameLoad Str keyword Call NameLoad NameLoad Assign NameStore Call NameLoad Str keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str TupleLoad Str Str Str If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str TupleLoad Str Str Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str TupleLoad Str Str Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str TupleLoad Str Str Assign NameStore BoolOpOr BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMod Str NameLoad While Num body Assign NameStore Call NameLoad Str keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print Str orelse If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad Str body Break orelse Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
    make-flaskext
    ~~~~~~~~~~~~~

    Little helper script that helps creating new flask extensions.

    :copyright: (c) 2010 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
 __future__ with_statement N/A re N/A os N/A sys N/A getpass datetime datetime subprocess Popen jinja2 Template werkzeug url_quote N/A _sep_re N/A N/A re compile [\s.,;_-]+ N/A SPHINX_THEME_REPO git://github.com/mitsuhiko/flask-sphinx-themes.git N/A FILE_HEADER_TEMPLATE N/A Template # -*- coding: utf-8 -*-
"""
    {{ module }}
    {{ '~' * module|length }}

    Description of the module goes here...

    :copyright: (c) {{ year }} by {{ name }}.
    :license: {{ license }}, see LICENSE for more details.
"""
 N/A MIT_LICENSE_TEMPLATE N/A Template Copyright (c) {{ year }} {{ name }}

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
 N/A BSD_LICENSE_TEMPLATE N/A Template Copyright (c) {{ year }} by {{ name }}.

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.
 N/A SETUP_PY_TEMPLATE N/A Template """
{{ name }}
{{ '-' * name|length }}

Description goes here...

Links
`````

* `documentation <http://packages.python.org/{{ urlname }}>`_
{% if vcs_host in ('github', 'gitorious', 'bitbucket') -%}
* `development version
{%- if vcs_host == 'github' %}
  <http://github.com/USERNAME/REPOSITORY/zipball/master#egg={{ urlname }}-dev>`_
{%- elif vcs_host == 'gitorious' %}
  <http://gitorious.org/PROJECT/REPOSITORY/archive-tarball/master#egg={{ urlname }}-dev>`_
{%- elif vcs_host == 'bitbucket' %}
  <http://bitbucket.org/USERNAME/REPOSITORY/get/tip.gz#egg={{ urlname }}-dev>`_
{% endif %}
{% endif %}
"""
from setuptools import setup


setup(
    name={{ name|pprint }},
    version='0.1',
    url='<enter URL here>',
    license={{ license|pprint }},
    author={{ author|pprint }},
    author_email='your-email-here@example.com',
    description='<enter short description here>',
    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',
{%- if license %}
        'License :: OSI Approved :: {{ license }} License',
{%- endif %}
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
 prompt N/A N/A name default N/A None N/A N/A prompt N/A name N/A N/A default N/A  [%s] default N/A prompt N/A N/A N/A N/A name endswith ? :  N/A True N/A N/A rv N/A raw_input prompt N/A rv N/A N/A rv N/A N/A default None N/A N/A default N/A prompt_bool N/A N/A name default N/A False N/A N/A True N/A N/A rv N/A prompt N/A name ? N/A N/A default Y N N/A N/A rv N/A N/A default N/A N/A N/A N/A rv lower N/A y yes 1 on true t N/A N/A True N/A N/A N/A N/A N/A rv lower N/A n no 0 off false f N/A N/A False N/A prompt_choices N/A N/A name choices N/A N/A N/A True N/A N/A rv N/A prompt N/A name N/A ? - (%s) N/A N/A ,  join choices N/A choices N/A 0 N/A rv N/A N/A rv lower N/A N/A rv N/A N/A N/A choices N/A 0 N/A N/A rv choices N/A N/A N/A rv none N/A N/A None N/A N/A rv N/A guess_package N/A N/A name N/A N/A N/A Guess the package name N/A words N/A N/A N/A x lower N/A x N/A N/A _sep_re split name N/A words N/A x N/A x words N/A x flask N/A N/A N/A N/A _ join words None N/A Extension N/A object N/A __init__ N/A N/A self name shortname author output_folder vcs vcs_host license with_sphinx sphinx_theme N/A N/A N/A N/A self name name N/A N/A self shortname shortname N/A N/A self author author N/A N/A self output_folder output_folder N/A N/A self vcs vcs N/A N/A self vcs_host vcs_host N/A N/A self license license N/A N/A self with_sphinx with_sphinx N/A N/A self sphinx_theme sphinx_theme N/A make_folder N/A N/A self N/A N/A N/A N/A N/A os makedirs N/A N/A N/A os path join N/A self output_folder flaskext N/A create_files N/A N/A self N/A N/A N/A N/A open N/A N/A N/A os path join N/A self output_folder flaskext __init__.py w f N/A N/A N/A N/A f write __import__('pkg_resources').declare_namespace(__name__)
 N/A N/A open N/A N/A N/A os path join N/A self output_folder flaskext N/A N/A self shortname .py w f N/A N/A N/A N/A f write N/A N/A N/A N/A N/A FILE_HEADER_TEMPLATE render module N/A flaskext. N/A self shortname year N/A N/A N/A datetime utcnow year name N/A self author license N/A self license encode utf-8 N/A N/A open N/A N/A N/A os path join N/A self output_folder LICENSE w f N/A N/A N/A N/A self license BSD N/A N/A N/A N/A f write N/A N/A N/A N/A N/A BSD_LICENSE_TEMPLATE render year N/A N/A N/A datetime utcnow year name N/A self author encode utf-8 N/A N/A N/A N/A self license MIT N/A N/A N/A N/A f write N/A N/A N/A N/A N/A MIT_LICENSE_TEMPLATE render year N/A N/A N/A datetime utcnow year name N/A self author encode utf-8 N/A N/A open N/A N/A N/A os path join N/A self output_folder README w f N/A N/A N/A N/A f write N/A N/A self name 

Description goes here
 N/A N/A open N/A N/A N/A os path join N/A self output_folder setup.py w f N/A N/A N/A N/A f write N/A N/A N/A N/A N/A SETUP_PY_TEMPLATE render name N/A self name urlname N/A url_quote N/A self name package N/A flaskext. N/A self shortname author N/A self author vcs_host N/A self vcs_host license N/A self license encode utf-8 N/A init_vcs N/A N/A self N/A N/A N/A N/A N/A self vcs hg N/A N/A N/A N/A self init_hg N/A N/A N/A N/A self vcs git N/A N/A N/A N/A self init_git N/A init_hg N/A N/A self N/A N/A N/A N/A N/A N/A Popen N/A hg init cwd N/A self output_folder wait N/A init_git N/A N/A self N/A N/A N/A N/A N/A N/A Popen N/A git init cwd N/A self output_folder wait N/A N/A self with_sphinx N/A N/A N/A N/A N/A Popen N/A git submodule add SPHINX_THEME_REPO docs/_themes cwd N/A self output_folder wait N/A init_sphinx N/A N/A self N/A N/A N/A N/A N/A self with_sphinx N/A N/A N/A docdir N/A N/A N/A os path join N/A self output_folder docs N/A N/A N/A os makedirs docdir N/A N/A N/A N/A Popen N/A sphinx-quickstart cwd docdir wait N/A N/A N/A N/A os path isfile N/A N/A N/A os path join docdir source conf.py N/A N/A sphinx_conf_py N/A N/A N/A os path join docdir source conf.py N/A N/A sphinx_conf_py N/A N/A N/A os path join docdir conf.py N/A N/A open sphinx_conf_py r f N/A N/A config N/A N/A N/A N/A f read splitlines N/A N/A idx line N/A enumerate config N/A N/A N/A N/A line startswith #sys.path.append N/A N/A N/A config N/A idx sys.path.append(os.path.abspath('_themes')) N/A N/A N/A N/A line startswith html_theme = N/A N/A N/A config N/A idx N/A html_theme = %r N/A self sphinx_theme N/A N/A N/A line #html_theme_path = [] N/A N/A N/A config N/A idx html_theme_path = ['_themes'] N/A N/A N/A N/A line startswith pygments_style = N/A N/A N/A config N/A idx #pygments_style = 'sphinx' N/A N/A open sphinx_conf_py w f N/A N/A N/A N/A f write N/A N/A join config N/A N/A N/A N/A self vcs git N/A N/A Don't forget to put the sphinx themes into docs/_themes! N/A N/A main N/A N/A N/A N/A N/A N/A N/A len N/A sys argv N/A 1 2 N/A N/A usage: make-flaskext.py [output-folder] N/A N/A Welcome to the Flask Extension Creator Wizard N/A N/A 1 N/A N/A name N/A prompt Extension Name (human readable) N/A N/A flask N/A N/A name lower N/A N/A N/A N/A prompt_bool Warning: It's recommended that the extension name contains the word "Flask". Continue N/A N/A N/A shortname N/A prompt Shortname (without flaskext.) default N/A guess_package name N/A author N/A prompt Author default N/A N/A getpass getuser N/A license_rv N/A prompt_choices License N/A bsd mit none N/A N/A license_rv bsd N/A N/A license BSD N/A N/A N/A license_rv mit N/A N/A license MIT N/A N/A license None N/A use_sphinx N/A prompt_bool Create sphinx documentation default True N/A sphinx_theme None N/A use_sphinx N/A N/A sphinx_theme N/A prompt Sphinx theme to use default flask_small N/A vcs N/A prompt_choices Which VCS to use N/A none git hg N/A N/A vcs None N/A N/A vcs_host None N/A N/A N/A vcs git N/A N/A vcs_host N/A prompt_choices Which git host to use N/A none github gitorious N/A N/A N/A vcs hg N/A N/A vcs_host N/A prompt_choices Which Mercurial host to use N/A none bitbucket N/A output_folder N/A N/A N/A N/A len N/A sys argv 2 N/A N/A sys argv N/A 1 N/A flask-%s shortname N/A 1 N/A N/A folder N/A prompt Output folder default output_folder N/A N/A N/A N/A os path isfile folder N/A N/A Error: output folder is a file N/A N/A N/A N/A N/A N/A os path isdir folder N/A N/A os listdir folder N/A N/A N/A prompt_bool Warning: output folder is not empty. Continue N/A N/A N/A N/A N/A output_folder N/A N/A N/A os path abspath folder N/A ext N/A Extension name shortname author output_folder vcs vcs_host license use_sphinx sphinx_theme N/A N/A N/A ext make_folder N/A N/A N/A ext create_files N/A N/A N/A ext init_sphinx N/A N/A N/A ext init_vcs N/A N/A N/A __name__ __main__ N/A N/A N/A main