Home
last modified time | relevance | path

Searched refs:USER_BASE (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dsite.py76 USER_BASE = None variable
227 global USER_BASE
228 if USER_BASE is not None:
229 return USER_BASE
231 USER_BASE = get_config_var('userbase')
232 return USER_BASE
562 print "USER_BASE: %r (%s)" % (USER_BASE,
563 "exists" if os.path.isdir(USER_BASE) else "doesn't exist")
571 buffer.append(USER_BASE)
/external/python/cpython2/Lib/test/
Dtest_site.py48 self.old_base = site.USER_BASE
56 site.USER_BASE = self.old_base
203 site.USER_BASE = None
207 self.assertEqual(site.USER_BASE, user_base)
210 site.USER_BASE = None
221 site.USER_BASE = None
226 self.assertTrue(user_site.startswith(site.USER_BASE), user_site)
/external/python/cpython2/Lib/distutils/tests/
Dtest_install.py72 self.old_user_base = site.USER_BASE
77 site.USER_BASE = self.user_base
79 install_module.USER_BASE = self.user_base
88 site.USER_BASE = self.old_user_base
90 install_module.USER_BASE = self.old_user_base
Dtest_build_ext.py32 self.old_user_base = site.USER_BASE
33 site.USER_BASE = self.mkdtemp()
35 build_ext.USER_BASE = site.USER_BASE
123 lib = os.path.join(site.USER_BASE, 'lib')
124 incl = os.path.join(site.USER_BASE, 'include')
/external/python/cpython2/Doc/library/
Dsite.rst137 .. data:: USER_BASE
167 Return the path of the user base directory, :data:`USER_BASE`. If it is not
178 it, respecting :envvar:`PYTHONNOUSERSITE` and :data:`USER_BASE`.
195 :data:`USER_BASE` and whether the directory exists, then the same thing for
/external/python/cpython2/Lib/distutils/command/
Dbuild_ext.py13 from site import USER_BASE, USER_SITE
270 user_include = os.path.join(USER_BASE, "include")
271 user_lib = os.path.join(USER_BASE, "lib")
Dinstall.py21 from site import USER_BASE
189 self.install_userbase = USER_BASE
/external/python/cpython2/Doc/using/
Dcmdline.rst592 Defines the :data:`user base directory <site.USER_BASE>`, which is used to
/external/python/cpython2/Doc/install/
Dindex.rst348 Files will be installed into subdirectories of :data:`site.USER_BASE` (written
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1483 :func:`~site.getuserbase` returns the value of the :envvar:`USER_BASE`