##// END OF EJS Templates
use if main block in entry points...
MinRK -
Show More
@@ -337,6 +337,7 b' def find_entry_points():'
337 337 script_src = """#!{executable}
338 338 # This script was automatically generated by setup.py
339 339 from {mod} import {func}
340 if __name__ == '__main__':
340 341 {func}()
341 342 """
342 343
General Comments 0
You need to be logged in to leave comments. Login now