schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

Give option to create py files instead of pyc #5

Open cool-RR opened 13 years ago

cool-RR commented 13 years ago

I'd like to have an option where bbfreeze creates py files instead of pyc. This simplifies many things.

Shipping pyc files makes sense in theory, but in practice there are many situations where you want the py files. For example today I wanted to run tests on a py2exe-packaged program. Py2exe packages only pyc file, and nose wouldn't agree to load tests from pyc files, so I couldn't run my tests.

I ended up monkeypatching nose to deal with pyc files, so that issue was resolved. But a few times it happened that I wanted to troubleshoot/debug a py2exe distribution, and it was impossible with the pyc files.

This is why I prefer py files.