Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dsite.py75 USER_SITE = None variable
244 global USER_SITE
247 if USER_SITE is not None:
248 return USER_SITE
256 USER_SITE = get_path('purelib', 'osx_framework_user')
257 return USER_SITE
259 USER_SITE = get_path('purelib', '%s_user' % os.name)
260 return USER_SITE
570 print "USER_SITE: %r (%s)" % (USER_SITE,
571 "exists" if os.path.isdir(USER_SITE) else "doesn't exist")
[all …]
/external/python/cpython2/Lib/test/
Dtest_site.py36 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE):
39 os.makedirs(site.USER_SITE)
41 site.addsitedir(site.USER_SITE)
45 % (site.USER_SITE, exc))
66 self.old_site = site.USER_SITE
74 site.USER_SITE = self.old_site
189 usersite = site.USER_SITE
237 site.USER_SITE = None
242 self.assertEqual(site.USER_SITE, user_site)
/external/python/cpython3/Lib/test/
Dtest_site.py42 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE):
45 os.makedirs(site.USER_SITE)
47 site.addsitedir(site.USER_SITE)
50 % (site.USER_SITE, exc))
65 self.old_site = site.USER_SITE
74 site.USER_SITE = self.old_site
203 usersite = site.USER_SITE
258 site.USER_SITE = None
263 self.assertEqual(site.USER_SITE, user_site)
288 site.USER_SITE = None
/external/python/cpython3/Lib/distutils/tests/
Dtest_install.py72 self.old_user_site = site.USER_SITE
77 site.USER_SITE = self.user_site
79 install_module.USER_SITE = self.user_site
88 site.USER_SITE = self.old_user_site
90 install_module.USER_SITE = self.old_user_site
/external/python/cpython2/Lib/distutils/tests/
Dtest_install.py74 self.old_user_site = site.USER_SITE
79 site.USER_SITE = self.user_site
81 install_module.USER_SITE = self.user_site
90 site.USER_SITE = self.old_user_site
92 install_module.USER_SITE = self.old_user_site
/external/python/cpython3/Lib/
Dsite.py86 USER_SITE = None variable
296 global USER_SITE
299 if USER_SITE is None:
300 USER_SITE = _get_path(userbase)
302 return USER_SITE
622 buffer.append(USER_SITE)
/external/python/setuptools/setuptools/tests/
Dtest_develop.py80 cmd.install_dir = site.USER_SITE
86 content = os.listdir(site.USER_SITE)
91 fn = os.path.join(site.USER_SITE, 'foo.egg-link')
Dtest_easy_install.py273 @mock.patch('setuptools.command.easy_install.__file__', site.USER_SITE)
341 ei.__file__ = site.USER_SITE
/external/antlr/runtime/Python3/
Dez_setup.py25 from site import USER_SITE
27 USER_SITE = None variable
364 if arg == '--user' and USER_SITE is not None:
365 return location.startswith(USER_SITE)
/external/python/cpython3/Lib/distutils/command/
Dinstall.py19 from site import USER_SITE
140 "install in user site-package '%s'" % USER_SITE))
173 self.install_usersite = 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/cpython3/Tools/scripts/
Dwin_add2path.py25 usersite = site.USER_SITE.replace(appdata, "%APPDATA%")
/external/tensorflow/tensorflow/
Dapi_template.__init__.py75 _site_packages_dirs += [_site.USER_SITE]
Dapi_template_v1.__init__.py89 _site_packages_dirs += [_site.USER_SITE]
/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/cpython3/Doc/library/
Dsite.rst162 .. data:: USER_SITE
220 :data:`USER_SITE`. If it is not initialized yet, this function will also set
239 :data:`USER_SITE`, and finally the value of :data:`ENABLE_USER_SITE`.
/external/python/cpython2/Doc/using/
Dcmdline.rst299 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
594 <site.USER_SITE>` to :data:`sys.path`.
606 compute the path of the :data:`user site-packages directory <site.USER_SITE>`
/external/python/setuptools/setuptools/command/
Deasy_install.py162 help_msg = "install in user site-package '%s'" % site.USER_SITE
194 self.install_usersite = site.USER_SITE
1440 sitedirs.append(site.USER_SITE)
/external/python/cpython3/Doc/using/
Dcmdline.rst321 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
630 <site.USER_SITE>` to :data:`sys.path`.
640 compute the path of the :data:`user site-packages directory <site.USER_SITE>`
/external/python/cpython3/Doc/install/
Dindex.rst353 extension modules in the same location (also known as :data:`site.USER_SITE`).
/external/python/cpython2/Doc/install/
Dindex.rst350 extension modules in the same location (also known as :data:`site.USER_SITE`).
/external/python/cpython3/Doc/c-api/
Dinit.rst184 Don't add the :data:`user site-packages directory <site.USER_SITE>` to