scripts/uninstall-debugclients.py

branch
eric7
changeset 8501
7b5f10581c35
parent 8314
e3642a6a1e71
child 8881
54e42bc2437a
equal deleted inserted replaced
8500:e7814dd19115 8501:7b5f10581c35
8 8
9 """ 9 """
10 Unnstallation script for the eric debug clients. 10 Unnstallation script for the eric debug clients.
11 """ 11 """
12 12
13 import sys 13 import contextlib
14 import os 14 import os
15 import shutil 15 import shutil
16 import distutils.sysconfig 16 import sys
17 import contextlib 17 import sysconfig
18 18
19 # Define the globals. 19 # Define the globals.
20 progName = None 20 progName = None
21 currDir = os.getcwd() 21 currDir = os.getcwd()
22 modDir = None 22 modDir = None
62 Module function to set the values of globals that need more than a 62 Module function to set the values of globals that need more than a
63 simple assignment. 63 simple assignment.
64 """ 64 """
65 global modDir, pyModDir 65 global modDir, pyModDir
66 66
67 modDir = distutils.sysconfig.get_python_lib(True) 67 modDir = sysconfig.get_path('platlib')
68 pyModDir = modDir 68 pyModDir = modDir
69 69
70 70
71 def uninstallEricDebugClients(): 71 def uninstallEricDebugClients():
72 """ 72 """

eric ide

mercurial