scripts/install-debugclients.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9328
49a0a9cb2505
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
12 """ 12 """
13 13
14 import compileall 14 import compileall
15 import contextlib 15 import contextlib
16 import fnmatch 16 import fnmatch
17 import getopt
17 import io 18 import io
18 import os 19 import os
19 import re 20 import re
20 import shutil 21 import shutil
21 import sys 22 import sys
23 import sysconfig
22 24
23 # Define the globals. 25 # Define the globals.
24 progName = None 26 progName = None
25 currDir = os.getcwd() 27 currDir = os.getcwd()
26 modDir = None 28 modDir = None
83 """ 85 """
84 Module function to set the values of globals that need more than a 86 Module function to set the values of globals that need more than a
85 simple assignment. 87 simple assignment.
86 """ 88 """
87 global modDir, pyModDir 89 global modDir, pyModDir
88
89 import sysconfig
90 90
91 modDir = sysconfig.get_path("platlib") 91 modDir = sysconfig.get_path("platlib")
92 pyModDir = modDir 92 pyModDir = modDir
93 93
94 94
225 """ 225 """
226 The main function of the script. 226 The main function of the script.
227 227
228 @param argv the list of command line arguments. 228 @param argv the list of command line arguments.
229 """ 229 """
230 import getopt
231
232 # Parse the command line. 230 # Parse the command line.
233 global progName, modDir, doCleanup, doCompile, distDir 231 global progName, modDir, doCleanup, doCompile, distDir
234 global sourceDir, eric7SourceDir 232 global sourceDir, eric7SourceDir
235 233
236 if sys.version_info < (3, 7, 0) or sys.version_info >= (4, 0, 0): 234 if sys.version_info < (3, 7, 0) or sys.version_info >= (4, 0, 0):

eric ide

mercurial