eric7/VirtualEnv/VirtualenvManager.py

branch
eric7
changeset 8334
c113428ecff3
parent 8318
962bce857696
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8333:12948ec78ca0 8334:c113428ecff3
78 # setting 78 # setting
79 # 79 #
80 envsToDelete = [] 80 envsToDelete = []
81 for venvName in environments: 81 for venvName in environments:
82 environment = environments[venvName] 82 environment = environments[venvName]
83 if environment["variant"] == 2:
84 # Python2 environment are not supported anymore, delete them
85 envsToDelete.append(venvName)
86 continue
87
88 if ( 83 if (
89 ("is_remote" in environment and environment["is_remote"]) or 84 ("is_remote" in environment and environment["is_remote"]) or
90 os.access(environment["interpreter"], os.X_OK) 85 os.access(environment["interpreter"], os.X_OK)
91 ): 86 ):
92 if "is_global" not in environment: 87 if "is_global" not in environment:

eric ide

mercurial