From: Arthur <aj...@op...> - 2003-12-02 13:10:58
|
> Has anyone had any experience in making distributable VPython programs (a > single exe in windows)? I've tried the Mcmillan and py2exe installers with > out much luck. The Mcmillan installer makes the .exe file which dies as > soon as it is run (I'm using the stonehenge example for testing). Py2exe > won't even compile (from the error messages I'd guess its a 2.3 problem not > Vpython). Good news and bad news. Good news - it's quite achievable. At: http://www.dstoys.com/content/education/index_html/Visual%20Arts/Interactive is a proof of concept using the Vpythons Towers of Hanoi demo. Bad news: I did it some time ago, and lost the trail of exactly how I did it. I do seem to remember that a necessary trick was renaming the __init__.py file in the visual directory to visual.py. I think you can unzip the exe included in the sample above and see its contents - which should give you some good clues. I'll look closer if and whn I get a chance, and see what memeories I can recover. Art |