Lines Matching refs:USER_SITE
39 HAS_USER_SITE = (site.USER_SITE is not None)
47 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE):
50 os.makedirs(site.USER_SITE)
52 site.addsitedir(site.USER_SITE)
55 % (site.USER_SITE, exc))
70 self.old_site = site.USER_SITE
79 site.USER_SITE = self.old_site
215 usersite = site.USER_SITE
272 site.USER_SITE = None
277 self.assertEqual(site.USER_SITE, user_site)
310 site.USER_SITE = None