Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[fe8454]: run_2to3 Maximize Restore History

Download this file

run_2to3    20 lines (10 with data), 387 Bytes

# run_2to3

set -e

2to3 -d -w -n .

2to3 -w -n .

hg revert --no-backup ez_setup.py doctest_file.py

cd pyke/krb_compiler

hg revert --no-backup *_tables.py

hg revert --no-backup ply/lex.py ply/yacc.py

PYTHONPATH=../.. python3.1 -c "from pyke import krb_compiler; krb_compiler.compile_krb('compiler', 'compiled_krb', 'compiled_krb', 'compiler.krb')"

mv compiled_krb/compiler_bc.py .