Virgil Dupras wrote:
Is it possible that py2app is a little too complex for what
it does?

I think a lot of the complexity of py2app and py2exe come
from trying to automatically figure out what modules and
libraries need to be included.

I've been thinking for a while about creating something
simpler that doesn't attempt any automatic module discovery
at all. You would be required to construct a project file
that explicitly lists all the required modules and libraries,
including standard library modules.

This may sound onerous, but I don't think it would be if
you did it as part of the process of developing the code.
There would be a testing mode which would run the application
in an isolated environment using the current project settings.
If you did all your development that way, you would immediately
discover when something was missing and needed to be added
to the project.

Furthermore, you would be assured that if it works during
testing, it will also work when bundled -- something that
currently requires a separate testing step when using py2app
or py2exe, because you can never trust them to find all the
dependencies correctly.

Does anyone else think such a tool would be useful?

--
Greg
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to