- changed status to open
-
assigned issue to
scripts lack if __name__ == '__main__'
Issue #11
resolved
Generated scripts should wrap their call to the script entry point in the standard "if name == 'main'". Without this, multiprocessing can't be used with setuptools/distribute scripts on Windows, as spawned processes re-execute the original script.
Comments (3)
-
-
- changed milestone to 0.6.5
-
- changed status to resolved
Generated scripts now wraps their call in a main section. Fixes
#11 - Log in to comment