scripts lack if __name__ == '__main__'

Create issue
Issue #11 resolved
Jason Pellerin created an issue

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)

  1. Log in to comment