Home
last modified time | relevance | path

Searched refs:USER_SITE (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/test/
Dtest_site.py39 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)
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_install.py83 self.old_user_site = site.USER_SITE
88 site.USER_SITE = self.user_site
90 install_module.USER_SITE = self.user_site
99 site.USER_SITE = self.old_user_site
101 install_module.USER_SITE = self.old_user_site
/third_party/python/Lib/
Dsite.py87 USER_SITE = None variable
320 global USER_SITE, ENABLE_USER_SITE
323 if USER_SITE is None:
327 USER_SITE = _get_path(userbase)
329 return USER_SITE
656 buffer.append(USER_SITE)
/third_party/python/Lib/distutils/command/
Dinstall.py21 from site import USER_SITE
23 HAS_USER_SITE = (USER_SITE is not None)
157 "install in user site-package '%s'" % USER_SITE))
191 self.install_usersite = USER_SITE
/third_party/python/Tools/scripts/
Dwin_add2path.py25 usersite = site.USER_SITE.replace(appdata, "%APPDATA%")
/third_party/python/Doc/library/
Dsite.rst175 .. data:: USER_SITE
233 :data:`USER_SITE`. If it is not initialized yet, this function will also set
259 :data:`USER_SITE`, and finally the value of :data:`ENABLE_USER_SITE`.
/third_party/python/Doc/using/
Dcmdline.rst339 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
713 <site.USER_SITE>` to :data:`sys.path`.
723 compute the path of the :data:`user site-packages directory <site.USER_SITE>`
/third_party/python/Doc/install/
Dindex.rst314 extension modules in the same location (also known as :data:`site.USER_SITE`).
/third_party/python/Doc/c-api/
Dinit.rst188 Don't add the :data:`user site-packages directory <site.USER_SITE>` to