Return a set containing all existing file system items from sys.path.
()
| 151 | |
| 152 | |
| 153 | def _init_pathinfo(): |
| 154 | """Return a set containing all existing file system items from sys.path.""" |
| 155 | d = set() |
| 156 | for item in sys.path: |
| 157 | try: |
| 158 | if os.path.exists(item): |
| 159 | _, itemcase = makepath(item) |
| 160 | d.add(itemcase) |
| 161 | except TypeError: |
| 162 | continue |
| 163 | return d |
| 164 | |
| 165 | |
| 166 | def addpackage(sitedir, name, known_paths): |
no test coverage detected
searching dependent graphs…