scripts/install.py

branch
eric7
changeset 9231
d92a18dffa5e
parent 9221
bf71ee032bb4
child 9261
66cc5e304450
equal deleted inserted replaced
9230:70f269d529e4 9231:d92a18dffa5e
2186 2186
2187 if installFromSource: 2187 if installFromSource:
2188 sourceDir = os.path.abspath("..") 2188 sourceDir = os.path.abspath("..")
2189 2189
2190 eric7SourceDir = ( 2190 eric7SourceDir = (
2191 os.path.join(sourceDir, "eric7") 2191 os.path.join(sourceDir, "src", "eric7")
2192 if os.path.exists(os.path.join(sourceDir, "eric7")) 2192 if os.path.exists(os.path.join(sourceDir, "src", "eric7"))
2193 else os.path.join(sourceDir, "src", "eric7") 2193 else os.path.join(sourceDir, "eric7")
2194 ) 2194 )
2195 2195
2196 # cleanup source if installing from source 2196 # cleanup source if installing from source
2197 if installFromSource: 2197 if installFromSource:
2198 print("Cleaning up source ...") 2198 print("Cleaning up source ...")
2199 cleanupSource(eric7SourceDir) 2199 cleanupSource(sourceDir)
2200 print() 2200 print()
2201 2201
2202 configName = os.path.join(eric7SourceDir, "eric7config.py") 2202 configName = os.path.join(eric7SourceDir, "eric7config.py")
2203 if os.path.exists(os.path.join(sourceDir, ".hg")): 2203 if os.path.exists(os.path.join(sourceDir, ".hg")):
2204 # we are installing from source with repo 2204 # we are installing from source with repo

eric ide

mercurial