[Pyobjc-dev] PyObjC sources bundled with pbxbuild install
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-05-26 12:57:48
|
Hi, when I'm building a distribution of some application using the "pbxbuild install", I see that the included PyObjC folder contains all .py files in addition to the .pyc files and all test_*.py[c]? files, too. A little investigation shows the following numbers for PyObjC 0.9: Foo.app/Contents/Resources/PyObjC/ *.pyc : 326713 B *.pyo : 152776 B *.py : 229737 B So the question is: do we really need to include the .py and .pyo files? If we don't, we'd save about 373 KB in the resulting app, which is about 14 % of an empty doc-based Python app, installed from the PB template. I deleted the .py and .pyo files and it still works. Another question is if the __main__.py in Contents/Resources really needs to be a source file or if it could also be a byte- compiled one? This only for consistency reasons... Dinu -- Dinu C. Gherman ...................................................................... "La perfection est atteinte, non pas lorsqu'il n'y a plus rien =E0 ajouter, mais lorsqu'il n'y a plus rien =E0 retirer." (Antoine de Saint-Exup=E9ry)= |