1189 |
1189 |
1190 # Eliminate anything that is part of the Python installation. |
1190 # Eliminate anything that is part of the Python installation. |
1191 afn = self.absPath(fn) |
1191 afn = self.absPath(fn) |
1192 for d in self.skipdirs: |
1192 for d in self.skipdirs: |
1193 if afn.startswith(d): |
1193 if afn.startswith(d): |
|
1194 return 1 |
|
1195 |
|
1196 # special treatment for paths containing site-packages or dist-packages |
|
1197 for part in ["site-packages", "dist-packages"]: |
|
1198 if part in afn: |
1194 return 1 |
1199 return 1 |
1195 |
1200 |
1196 return 0 |
1201 return 0 |
1197 |
1202 |
1198 def getRunning(self): |
1203 def getRunning(self): |