1199 |
1199 |
1200 # Eliminate anything that is part of the Python installation. |
1200 # Eliminate anything that is part of the Python installation. |
1201 afn = self.absPath(fn) |
1201 afn = self.absPath(fn) |
1202 for d in self.skipdirs: |
1202 for d in self.skipdirs: |
1203 if afn.startswith(d): |
1203 if afn.startswith(d): |
|
1204 return True |
|
1205 |
|
1206 # special treatment for paths containing site-packages or dist-packages |
|
1207 for part in ["site-packages", "dist-packages"]: |
|
1208 if part in afn: |
1204 return True |
1209 return True |
1205 |
1210 |
1206 return False |
1211 return False |
1207 |
1212 |
1208 def getRunning(self): |
1213 def getRunning(self): |