def get_scripts():
 if OS_WINDOWS:
  batpath = os.path.join('bin', 'windows', 'evennia.bat')
  scriptpath = os.path.join(sys.prefix, 'Scripts', 'evennia_launcher.py')
  with open(batpath, 'w') as batfile:
   batfile.write(('@"%s" "%s" %%*' % (sys.executable, scriptpath)))
  return [batpath, os.path.join('bin', 'windows', 'evennia_launcher.py')]
 else:
  return [os.path.join('bin', 'unix', 'evennia')]

def get_scripts ( ) : if OS_WINDOWS : batpath = os . path . join ( 'bin' , 'windows' , 'evennia.bat' ) scriptpath = os . path . join ( sys . prefix , 'Scripts' , 'evennia_launcher.py' ) with open ( batpath , 'w' ) as batfile : batfile . write ( ( '@"%s" "%s" %%*' % ( sys . executable , scriptpath ) ) ) return [ batpath , os . path . join ( 'bin' , 'windows' , 'evennia_launcher.py' ) ] else : return [ os . path . join ( 'bin' , 'unix' , 'evennia' ) ]
get custom npm scripts .