def test_install_from_wheel_no_setuptools_entrypoint(script, data):
 result = script.pip('install', 'script.wheel1==0.1', '--no-index', ('--find-links=' + data.find_links), expect_error=False)
 if (os.name == 'nt'):
  wrapper_file = (script.bin / 't1.exe')
 else:
  wrapper_file = (script.bin / 't1')
 wrapper_helper = (script.bin / 't1-script.py')
 assert (wrapper_file in result.files_created)
 assert (wrapper_helper not in result.files_created)

def test_install_from_wheel_no_setuptools_entrypoint ( script , data ) : result = script . pip ( 'install' , 'script.wheel1==0.1' , '--no-index' , ( '--find-links=' + data . find_links ) , expect_error = False ) if ( os . name == 'nt' ) : wrapper_file = ( script . bin / 't1.exe' ) else : wrapper_file = ( script . bin / 't1' ) wrapper_helper = ( script . bin / 't1-script.py' ) assert ( wrapper_file in result . files_created ) assert ( wrapper_helper not in result . files_created )
test that when we generate scripts .