Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dsite.py75 USER_SITE = None variable
240 global USER_SITE
243 if USER_SITE is not None:
244 return USER_SITE
252 USER_SITE = get_path('purelib', 'osx_framework_user')
253 return USER_SITE
255 USER_SITE = get_path('purelib', '%s_user' % os.name)
256 return USER_SITE
564 print "USER_SITE: %r (%s)" % (USER_SITE,
565 "exists" if os.path.isdir(USER_SITE) else "doesn't exist")
[all …]
/external/python/cpython2/Lib/test/
Dtest_site.py27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE):
30 os.makedirs(site.USER_SITE)
31 site.addsitedir(site.USER_SITE)
34 % (site.USER_SITE, exc))
49 self.old_site = site.USER_SITE
57 site.USER_SITE = self.old_site
172 usersite = site.USER_SITE
220 site.USER_SITE = None
225 self.assertEqual(site.USER_SITE, user_site)
/external/python/cpython2/Lib/distutils/tests/
Dtest_install.py73 self.old_user_site = site.USER_SITE
78 site.USER_SITE = self.user_site
80 install_module.USER_SITE = self.user_site
89 site.USER_SITE = self.old_user_site
91 install_module.USER_SITE = self.old_user_site
/external/python/cpython2/Lib/distutils/command/
Dinstall.py22 from site import USER_SITE
107 "install in user site-package '%s'" % USER_SITE),
190 self.install_usersite = USER_SITE
Dbuild_ext.py13 from site import USER_BASE, USER_SITE
/external/python/cpython2/Tools/scripts/
Dwin_add2path.py25 userpath = site.USER_SITE.replace(appdata, "%APPDATA%")
/external/python/cpython2/Doc/library/
Dsite.rst124 .. data:: USER_SITE
177 :data:`USER_SITE`. If it is not initialized yet, this function will also set
196 :data:`USER_SITE`, and finally the value of :data:`ENABLE_USER_SITE`.
/external/python/cpython2/Doc/using/
Dcmdline.rst286 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
581 <site.USER_SITE>` to :data:`sys.path`.
593 compute the path of the :data:`user site-packages directory <site.USER_SITE>`
/external/python/cpython2/Doc/install/
Dindex.rst350 extension modules in the same location (also known as :data:`site.USER_SITE`).