Module Expr Str Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Continue Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr If CompareNotEq Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Call NameLoad Call AttributeLoad NameLoad attr Num body Continue While Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Continue Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Str If CompareNotEq SubscriptLoad NameLoad Index Num Num body AugAssignAdd SubscriptStore NameLoad Index Num Num orelse AugAssignAdd SubscriptStore NameLoad Index Num Num Return Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd BinOpAdd NameLoad NameLoad NameLoad decorator_list With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad Str NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad Call NameLoad ListLoad AttributeLoad NameLoad attr Str Str Str Str attr decorator_list FunctionDef arguments args NameParam defaults vararg body Print AttributeLoad NameLoad attr Str BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg body Print AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad Call AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad ListLoad Str Str keyword NameLoad attr Index Num attr decorator_list FunctionDef arguments args defaults body Return CompareEq Call AttributeLoad Call NameLoad ListLoad Str Str Str attr Num decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad Call NameLoad ListLoad Str Str Str NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str NameLoad Expr Call AttributeLoad Call NameLoad ListLoad Str Str NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad Str Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad Str Expr Call NameLoad Str NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad If CompareIn NameLoad NameLoad body Expr Call NameLoad Str NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad body Expr Call NameLoad Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
    make-release
    ~~~~~~~~~~~~

    Helper script that performs a release.  Does pretty much everything
    automatically for us.

    :copyright: (c) 2013 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
 N/A sys N/A os N/A re datetime datetime date subprocess Popen PIPE N/A _date_clean_re N/A N/A re compile (\d+)(st|nd|rd|th) parse_changelog N/A N/A N/A N/A N/A N/A open CHANGES f N/A N/A lineiter N/A iter f N/A line lineiter N/A N/A match N/A N/A re search ^Version\s+(.*) N/A N/A line strip N/A N/A match None N/A N/A N/A length N/A len N/A N/A match group 1 N/A version N/A N/A N/A N/A match group 1 strip N/A N/A N/A N/A N/A N/A lineiter next count - N/A len N/A N/A match group 0 N/A N/A N/A 1 N/A N/A change_info N/A N/A N/A N/A lineiter next strip N/A change_info N/A N/A N/A match N/A N/A re search released on (\w+\s+\d+\w+\s+\d+)(?:, codename (.*))?(?i) change_info N/A N/A match None N/A N/A N/A N/A datestr codename N/A N/A match groups N/A N/A version N/A parse_date datestr codename N/A bump_version N/A N/A version N/A N/A N/A N/A N/A parts N/A map int N/A N/A version split . N/A N/A N/A ValueError N/A N/A N/A fail Current version is not numeric N/A N/A N/A parts N/A -1 0 N/A N/A N/A parts N/A -1 1 N/A N/A N/A parts N/A 0 1 N/A N/A N/A . join N/A map str parts N/A parse_date N/A N/A string N/A N/A N/A string N/A N/A _date_clean_re sub \1 string N/A N/A N/A datetime strptime string %B %d %Y N/A set_filename_version N/A N/A filename version_number pattern N/A N/A N/A changed N/A inject_version N/A N/A match N/A N/A N/A N/A before old after N/A N/A match groups N/A N/A N/A changed append True N/A N/A N/A before version_number after N/A N/A N/A open filename f N/A N/A contents N/A N/A re sub N/A ^(\s*%s\s*=\s*')(.+?)(')(?sm) pattern inject_version N/A N/A f read N/A N/A changed N/A N/A N/A fail Could not find %s in %s pattern filename N/A N/A open filename w f N/A N/A N/A N/A f write contents N/A set_init_version N/A N/A version N/A N/A N/A N/A info Setting __init__.py version to %s version N/A N/A set_filename_version flask_sqlalchemy/__init__.py version __version__ N/A set_setup_version N/A N/A version N/A N/A N/A N/A info Setting setup.py version to %s version N/A N/A set_filename_version setup.py version version N/A build_and_upload N/A N/A N/A N/A N/A N/A N/A N/A Popen N/A N/A sys executable setup.py release sdist upload wait N/A fail N/A N/A message N/A args N/A N/A N/A sys stderr Error: N/A message args N/A N/A N/A sys exit 1 N/A info N/A N/A message N/A args N/A N/A N/A sys stderr N/A message args N/A get_git_tags N/A N/A N/A N/A N/A N/A set N/A N/A N/A N/A N/A N/A Popen N/A git tag stdout PIPE communicate N/A 0 splitlines N/A git_is_clean N/A N/A N/A N/A N/A N/A N/A N/A N/A Popen N/A git diff --quiet wait 0 N/A make_git_commit N/A N/A message N/A args N/A N/A message N/A message args N/A N/A N/A N/A Popen N/A git commit -am message wait N/A make_git_tag N/A N/A tag N/A N/A N/A N/A info Tagging "%s" tag N/A N/A N/A N/A Popen N/A git tag tag wait N/A main N/A N/A N/A N/A N/A N/A N/A os chdir N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. N/A rv N/A parse_changelog N/A N/A rv None N/A N/A N/A fail Could not parse changelog N/A N/A version release_date codename rv N/A dev_version N/A N/A bump_version version -dev N/A N/A info Releasing %s (codename %s, release date %s) version codename N/A N/A release_date strftime %d/%m/%Y N/A tags N/A get_git_tags N/A N/A version tags N/A N/A N/A fail Version "%s" is already tagged version N/A N/A N/A N/A release_date date N/A N/A date today N/A N/A N/A fail N/A Release date is not today (%s != %s) N/A N/A N/A release_date date N/A N/A date today N/A N/A N/A git_is_clean N/A N/A N/A fail You have uncommitted changes in git N/A N/A set_init_version version N/A N/A set_setup_version version N/A N/A make_git_commit Bump version number to %s version N/A N/A make_git_tag version N/A N/A build_and_upload N/A N/A set_init_version dev_version N/A N/A set_setup_version dev_version N/A N/A N/A __name__ __main__ N/A N/A N/A main