scripts/install.py

branch
eric7
changeset 9448
ea215f7afab3
parent 9425
b1707793e213
child 9453
e5065dde905d
equal deleted inserted replaced
9447:662075aa9361 9448:ea215f7afab3
480 Uninstall the old eric files. 480 Uninstall the old eric files.
481 """ 481 """
482 global platBinDir 482 global platBinDir
483 483
484 try: 484 try:
485 from eric7config import getConfig 485 from eric7.Globals import getConfig
486 except ImportError: 486 except ImportError:
487 # eric wasn't installed previously 487 # eric wasn't installed previously
488 return 488 return
489 except SyntaxError: 489 except SyntaxError:
490 # an incomplete or old config file was found 490 # an incomplete or old config file was found
646 646
647 def cleanUpMacAppBundle(): 647 def cleanUpMacAppBundle():
648 """ 648 """
649 Uninstall the macOS application bundle. 649 Uninstall the macOS application bundle.
650 """ 650 """
651 from eric7config import getConfig 651 from eric7.Globals import getConfig
652 652
653 try: 653 try:
654 macAppBundlePath = getConfig("macAppBundlePath") 654 macAppBundlePath = getConfig("macAppBundlePath")
655 macAppBundleName = getConfig("macAppBundleName") 655 macAppBundleName = getConfig("macAppBundleName")
656 except AttributeError: 656 except AttributeError:

eric ide

mercurial