/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/test/ |
D | test_site.py | 42 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/ |
D | test_install.py | 72 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/ |
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 | 86 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/ |
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/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/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/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/cpython2/Tools/scripts/ |
D | win_add2path.py | 25 userpath = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/python/cpython3/Tools/scripts/ |
D | win_add2path.py | 25 usersite = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/tensorflow/tensorflow/ |
D | api_template.__init__.py | 75 _site_packages_dirs += [_site.USER_SITE]
|
D | api_template_v1.__init__.py | 89 _site_packages_dirs += [_site.USER_SITE]
|
/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 | 162 .. 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/ |
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 | 321 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/ |
D | index.rst | 353 extension modules in the same location (also known as :data:`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/c-api/ |
D | init.rst | 184 Don't add the :data:`user site-packages directory <site.USER_SITE>` to
|