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