scripts/uninstall-debugclients.py

branch
eric7
changeset 10091
ac6edcfe7831
parent 9694
90a7081e2837
child 10300
60e8f2175b3b
equal deleted inserted replaced
10090:8be7dd9460c5 10091:ac6edcfe7831
64 simple assignment. 64 simple assignment.
65 """ 65 """
66 global modDir, pyModDir 66 global modDir, pyModDir
67 67
68 modDir = sysconfig.get_path("platlib") 68 modDir = sysconfig.get_path("platlib")
69 if not os.access(modDir, os.W_OK):
70 # can't write to the standard path, use the 'user' path instead
71 if sys.platform.startswith(("win", "cygwin")):
72 scheme = "nt_user"
73 elif sys.platform == "darwin":
74 scheme = "osx_framework_user"
75 else:
76 scheme = "posix_user"
77 modDir = sysconfig.get_path("platlib", scheme)
69 pyModDir = modDir 78 pyModDir = modDir
70 79
71 80
72 def uninstallEricDebugClients(): 81 def uninstallEricDebugClients():
73 """ 82 """

eric ide

mercurial