Lines Matching refs:sitedir
131 def addpackage(sitedir, name, known_paths): argument
141 fullname = os.path.join(sitedir, name)
155 dir, dircase = makepath(sitedir, line)
172 def addsitedir(sitedir, known_paths=None): argument
180 sitedir, sitedircase = makepath(sitedir)
182 sys.path.append(sitedir) # Add path component
184 names = os.listdir(sitedir)
190 addpackage(sitedir, name, known_paths)
306 for sitedir in getsitepackages():
307 if os.path.isdir(sitedir):
308 addsitedir(sitedir, known_paths)