Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dsite.py76 USER_BASE = None variable
231 global USER_BASE
232 if USER_BASE is not None:
233 return USER_BASE
235 USER_BASE = get_config_var('userbase')
236 return USER_BASE
568 print "USER_BASE: %r (%s)" % (USER_BASE,
569 "exists" if os.path.isdir(USER_BASE) else "doesn't exist")
577 buffer.append(USER_BASE)
/external/python/cpython2/Lib/test/
Dtest_site.py65 self.old_base = site.USER_BASE
73 site.USER_BASE = self.old_base
220 site.USER_BASE = None
224 self.assertEqual(site.USER_BASE, user_base)
227 site.USER_BASE = None
238 site.USER_BASE = None
243 self.assertTrue(user_site.startswith(site.USER_BASE), user_site)
/external/python/cpython3/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.py33 self.old_user_base = site.USER_BASE
34 site.USER_BASE = self.mkdtemp()
36 build_ext.USER_BASE = site.USER_BASE
47 site.USER_BASE = self.old_user_base
49 build_ext.USER_BASE = self.old_user_base
149 lib = os.path.join(site.USER_BASE, 'lib')
150 incl = os.path.join(site.USER_BASE, 'include')
/external/python/cpython2/Lib/distutils/tests/
Dtest_install.py73 self.old_user_base = site.USER_BASE
78 site.USER_BASE = self.user_base
80 install_module.USER_BASE = self.user_base
89 site.USER_BASE = self.old_user_base
91 install_module.USER_BASE = self.old_user_base
Dtest_build_ext.py33 self.old_user_base = site.USER_BASE
34 site.USER_BASE = self.mkdtemp()
36 build_ext.USER_BASE = site.USER_BASE
124 lib = os.path.join(site.USER_BASE, 'lib')
125 incl = os.path.join(site.USER_BASE, 'include')
/external/python/cpython3/Lib/
Dsite.py88 USER_BASE = None variable
285 global USER_BASE
286 if USER_BASE is None:
287 USER_BASE = _getuserbase()
288 return USER_BASE
623 buffer.append(USER_BASE)
/external/python/cpython3/Lib/test/
Dtest_site.py66 self.old_base = site.USER_BASE
75 site.USER_BASE = self.old_base
240 site.USER_BASE = None
244 self.assertEqual(site.USER_BASE, user_base)
247 site.USER_BASE = None
258 site.USER_BASE = None
263 self.assertTrue(user_site.startswith(site.USER_BASE), user_site)
264 self.assertEqual(site.USER_BASE, site.getuserbase())
295 site.USER_BASE = None
/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/cpython3/Lib/distutils/command/
Dbuild_ext.py20 from site import USER_BASE
264 user_include = os.path.join(USER_BASE, "include")
265 user_lib = os.path.join(USER_BASE, "lib")
Dinstall.py18 from site import USER_BASE
172 self.install_userbase = USER_BASE
/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/cpython3/Doc/library/
Dsite.rst186 .. data:: USER_BASE
223 Return the path of the user base directory, :data:`USER_BASE`. If it is not
234 it, respecting :data:`USER_BASE`. To determine if the user-specific
258 :data:`USER_BASE` and whether the directory exists, then the same thing for
/external/python/cpython2/Doc/using/
Dcmdline.rst605 Defines the :data:`user base directory <site.USER_BASE>`, which is used to
/external/python/setuptools/setuptools/command/
Deasy_install.py193 self.install_userbase = site.USER_BASE
/external/python/cpython3/Doc/distutils/
Dsetupscript.rst541 ``site.USER_BASE`` for user installations). Distutils allows *directory* to be
/external/python/cpython3/Doc/using/
Dcmdline.rst693 Defines the :data:`user base directory <site.USER_BASE>`, which is used to
/external/python/setuptools/docs/
Deasy_install.txt999 for the ``site.USER_BASE`` variable. This mode of installation can be turned on by
1008 variable, which updates the value of ``site.USER_BASE``. To isolate packages to a specific
/external/python/cpython2/Doc/install/
Dindex.rst348 Files will be installed into subdirectories of :data:`site.USER_BASE` (written
/external/python/cpython3/Doc/install/
Dindex.rst305 Files will be installed into subdirectories of :data:`site.USER_BASE` (written
/external/python/cpython3/Doc/whatsnew/
D2.7.rst1498 :func:`~site.getuserbase` returns the value of the :envvar:`USER_BASE`
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1483 :func:`~site.getuserbase` returns the value of the :envvar:`USER_BASE`