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