install.py

branch
5_0_x
changeset 364
4ff3e465f6a9
parent 203
0bd3912f3c5f
child 382
29f660c4ad3e
equal deleted inserted replaced
362:e09ff98eb4d1 364:4ff3e465f6a9
365 createGlobalPluginsDir() 365 createGlobalPluginsDir()
366 366
367 except IOError as msg: 367 except IOError as msg:
368 sys.stderr.write('IOError: %s\nTry install as root.\n' % msg) 368 sys.stderr.write('IOError: %s\nTry install as root.\n' % msg)
369 sys.exit(7) 369 sys.exit(7)
370
371 except OSError as msg:
372 sys.stderr.write('OSError: %s\nTry install with admin rights.\n' % msg)
373 sys.exit(7)
370 374
371 # copy some text files to the doc area 375 # copy some text files to the doc area
372 for name in ["LICENSE.GPL3", "THANKS", "changelog"]: 376 for name in ["LICENSE.GPL3", "THANKS", "changelog"]:
373 try: 377 try:
374 shutil.copy('eric%s%s' % (os.sep, name), cfg['ericDocDir']) 378 shutil.copy('eric%s%s' % (os.sep, name), cfg['ericDocDir'])

eric ide

mercurial