scripts/install-debugclients.py

branch
server
changeset 10781
0e3d6e22efaf
parent 10439
21c28b0f9e41
child 10801
5859861e7a1f
equal deleted inserted replaced
10780:07670febf8c5 10781:0e3d6e22efaf
183 Actually perform the installation steps. 183 Actually perform the installation steps.
184 184
185 @return result code 185 @return result code
186 @rtype int 186 @rtype int
187 """ 187 """
188 global distDir, doCleanup, sourceDir, modDir 188 global distDir, sourceDir, modDir
189 189
190 # set install prefix, if not None 190 # set install prefix, if not None
191 targetDir = ( 191 targetDir = (
192 os.path.normpath(os.path.join(distDir, installPackage)) 192 os.path.normpath(os.path.join(distDir, installPackage))
193 if distDir 193 if distDir
199 # copy the various parts of eric debug clients 199 # copy the various parts of eric debug clients
200 copyTree( 200 copyTree(
201 os.path.join(eric7SourceDir, "DebugClients"), 201 os.path.join(eric7SourceDir, "DebugClients"),
202 os.path.join(targetDir, "DebugClients"), 202 os.path.join(targetDir, "DebugClients"),
203 ["*.py", "*.pyc", "*.pyo", "*.pyw"], 203 ["*.py", "*.pyc", "*.pyo", "*.pyw"],
204 excludePatterns=["eric7config.py*"],
205 ) 204 )
206 205
207 # copy the top level package file 206 # copy the top level package file
208 shutilCopy(os.path.join(eric7SourceDir, "__init__.py"), targetDir) 207 shutilCopy(os.path.join(eric7SourceDir, "__init__.py"), targetDir)
209 208

eric ide

mercurial