Module ImportFrom alias Import alias Import alias Assign NameStore NameLoad FunctionDef arguments args defaults body Global identifier With Call NameLoad Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Index Num Assign NameStore Call AttributeLoad Str attr NameLoad BinOpAdd Call NameLoad NameLoad Num Expr Yield Call AttributeLoad Str attr NameLoad orelse Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str keyword NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad Expr Call NameLoad Str keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad
N/A subprocess call N/A os N/A re N/A version None get_new_setup_py_lines N/A N/A N/A N/A N/A version N/A N/A open setup.py r sf N/A N/A current_setup N/A N/A sf readlines N/A line current_setup N/A N/A N/A N/A line startswith VERSION =  N/A N/A N/A major minor N/A N/A N/A re findall VERSION = '(\d+)\.(\d+)' line N/A 0 N/A version N/A N/A {}.{} format major N/A N/A int minor 1 N/A N/A N/A N/A VERSION = '{}'
 format version N/A N/A N/A line N/A N/A lines N/A list N/A get_new_setup_py_lines N/A N/A open setup.py w sf N/A N/A N/A N/A sf writelines lines N/A N/A call git pull shell True N/A N/A call N/A N/A git commit -am "Bump to {}" format version shell True N/A N/A call N/A N/A git tag {} format version shell True N/A N/A call git push shell True N/A N/A call git push --tags shell True N/A env N/A os environ N/A N/A env N/A CONVERT_README true N/A N/A call python setup.py sdist bdist_wheel upload shell True env env