scripts/install-debugclients.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9328
49a0a9cb2505
child 9576
be9f8e7e42e0
--- a/scripts/install-debugclients.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/scripts/install-debugclients.py	Mon Nov 07 17:19:58 2022 +0100
@@ -14,11 +14,13 @@
 import compileall
 import contextlib
 import fnmatch
+import getopt
 import io
 import os
 import re
 import shutil
 import sys
+import sysconfig
 
 # Define the globals.
 progName = None
@@ -86,8 +88,6 @@
     """
     global modDir, pyModDir
 
-    import sysconfig
-
     modDir = sysconfig.get_path("platlib")
     pyModDir = modDir
 
@@ -227,8 +227,6 @@
 
     @param argv the list of command line arguments.
     """
-    import getopt
-
     # Parse the command line.
     global progName, modDir, doCleanup, doCompile, distDir
     global sourceDir, eric7SourceDir

eric ide

mercurial