##// END OF EJS Templates
only check for dependencies when installing without setuptools
MinRK -
Show More
@@ -314,10 +314,13 b" if 'setuptools' in sys.modules:"
314 "ipython_win_post_install.py"}}
314 "ipython_win_post_install.py"}}
315
315
316 else:
316 else:
317 # If we are running without setuptools, call this function which will
317 # If we are installing without setuptools, call this function which will
318 # check for dependencies an inform the user what is needed. This is
318 # check for dependencies an inform the user what is needed. This is
319 # just to make life easy for users.
319 # just to make life easy for users.
320 check_for_dependencies()
320 for install_cmd in ('install', 'symlink'):
321 if install_cmd in sys.argv:
322 check_for_dependencies()
323 break
321 # scripts has to be a non-empty list, or install_scripts isn't called
324 # scripts has to be a non-empty list, or install_scripts isn't called
322 setup_args['scripts'] = [e.split('=')[0].strip() for e in find_entry_points()]
325 setup_args['scripts'] = [e.split('=')[0].strip() for e in find_entry_points()]
323
326
General Comments 0
You need to be logged in to leave comments. Login now