##// END OF EJS Templates
use if main block in entry points...
MinRK -
Show More
@@ -337,7 +337,8 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 {func}()
340 if __name__ == '__main__':
341 {func}()
341 """
342 """
342
343
343 class build_scripts_entrypt(build_scripts):
344 class build_scripts_entrypt(build_scripts):
General Comments 0
You need to be logged in to leave comments. Login now