Lines Matching refs:sitedir
147 def addpackage(sitedir, name, known_paths): argument
157 fullname = os.path.join(sitedir, name)
171 dir, dircase = makepath(sitedir, line)
189 def addsitedir(sitedir, known_paths=None): argument
197 sitedir, sitedircase = makepath(sitedir)
199 sys.path.append(sitedir) # Add path component
202 names = os.listdir(sitedir)
207 addpackage(sitedir, name, known_paths)
347 for sitedir in getsitepackages(prefixes):
348 if os.path.isdir(sitedir):
349 addsitedir(sitedir, known_paths)