Re: multiprocessing and freezing on Windows

2009-07-18 Thread SK
Thanks Gabriel. Posted as: http://bugs.python.org/issue6461 The multiprocessing author has tentatively confirmed the bug. -- http://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing and freezing on Windows

2009-07-05 Thread Gabriel Genellina
En Sat, 04 Jul 2009 22:15:43 -0300, SK escribió: To add a bit more information, I found that I needed to patch get_command_line in multiprocessing/forking.py [...] Is packaging with multiprocessing supposed to be this hard? If so, some documentation is needed. Shouldn't be so hard, I presume

Re: multiprocessing and freezing on Windows

2009-07-04 Thread SK
To add a bit more information, I found that I needed to patch get_command_line in multiprocessing/forking.py replacing: if getattr(sys, 'frozen', False): return [sys.executable, '--multiprocessing-fork'] else: prog = 'from multiprocessing.forking import main

multiprocessing and freezing on Windows

2009-07-02 Thread SK
Is there a method for freezing a Python 2.6 app using multiprocessing on Windows using PyInstaller or py2exe that works? It is trying to call my executable instead of python.exe when the process starts and passes it --multiprocessing-fork . Adding a freeze_support() to my main doesn't help. Do I ha