/external/python/cpython2/Lib/ |
D | site.py | 75 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/ |
D | test_site.py | 36 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/distutils/tests/ |
D | test_install.py | 73 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/tests/ |
D | test_install.py | 74 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/ |
D | site.py | 87 USER_SITE = None variable 297 global USER_SITE 300 if USER_SITE is None: 301 USER_SITE = _get_path(userbase) 303 return USER_SITE 625 buffer.append(USER_SITE)
|
/external/python/cpython3/Lib/test/ |
D | test_site.py | 44 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 47 os.makedirs(site.USER_SITE) 49 site.addsitedir(site.USER_SITE) 52 % (site.USER_SITE, exc)) 67 self.old_site = site.USER_SITE 76 site.USER_SITE = self.old_site 202 usersite = site.USER_SITE 257 site.USER_SITE = None 262 self.assertEqual(site.USER_SITE, user_site) 294 site.USER_SITE = None
|
/external/python/setuptools/setuptools/tests/ |
D | test_develop.py | 80 cmd.install_dir = site.USER_SITE 86 content = os.listdir(site.USER_SITE) 91 fn = os.path.join(site.USER_SITE, 'foo.egg-link')
|
D | test_easy_install.py | 273 @mock.patch('setuptools.command.easy_install.__file__', site.USER_SITE) 341 ei.__file__ = site.USER_SITE
|
/external/tensorflow/tensorflow/ |
D | api_template_v1.__init__.py | 129 _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
|
D | api_template.__init__.py | 119 if _site.ENABLE_USER_SITE and _site.USER_SITE is not None: 120 _site_packages_dirs += [_site.USER_SITE]
|
/external/antlr/runtime/Python3/ |
D | ez_setup.py | 25 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/cpython2/Lib/distutils/command/ |
D | install.py | 22 from site import USER_SITE 107 "install in user site-package '%s'" % USER_SITE), 190 self.install_usersite = USER_SITE
|
D | build_ext.py | 13 from site import USER_BASE, USER_SITE
|
/external/python/cpython3/Lib/distutils/command/ |
D | install.py | 19 from site import USER_SITE 140 "install in user site-package '%s'" % USER_SITE)) 173 self.install_usersite = USER_SITE
|
/external/python/cpython3/Tools/scripts/ |
D | win_add2path.py | 25 usersite = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/python/cpython2/Tools/scripts/ |
D | win_add2path.py | 25 userpath = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/python/cpython2/Doc/library/ |
D | site.rst | 124 .. 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/ |
D | site.rst | 175 .. 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`.
|
/external/python/cpython2/Doc/using/ |
D | cmdline.rst | 299 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/ |
D | easy_install.py | 162 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/ |
D | cmdline.rst | 339 Don't add the :data:`user site-packages directory <site.USER_SITE>` to 684 <site.USER_SITE>` to :data:`sys.path`. 694 compute the path of the :data:`user site-packages directory <site.USER_SITE>`
|
/external/python/cpython2/Doc/install/ |
D | index.rst | 350 extension modules in the same location (also known as :data:`site.USER_SITE`).
|
/external/python/cpython3/Doc/install/ |
D | index.rst | 307 extension modules in the same location (also known as :data:`site.USER_SITE`).
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 187 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
|