Searched refs:mod_dir (Results 1 – 9 of 9) sorted by relevance
/external/python/asn1crypto/dev/ |
D | _import.py | 16 def _import_from(mod, path, mod_dir=None, allow_error=False): argument 37 if mod_dir is None: 38 mod_dir = mod.replace('.', os.sep) 43 if not os.path.exists(os.path.join(path, mod_dir)) \ 44 and not os.path.exists(os.path.join(path, mod_dir + '.py')): 47 if os.sep in mod_dir: 48 append, mod_dir = mod_dir.rsplit(os.sep, 1) 52 mod_info = imp.find_module(mod_dir, [path])
|
/external/kmod/libkmod/python/kmod/ |
D | kmod.pyx | 33 self.mod_dir = None 38 def __init__(self, mod_dir=None): argument 39 self.set_mod_dir(mod_dir=mod_dir) 41 def set_mod_dir(self, mod_dir=None): argument 42 self.mod_dir = mod_dir 46 cdef char *mod_dir = NULL 48 if self.mod_dir: 49 mod_dir = self.mod_dir 50 self._kmod_ctx = _libkmod_h.kmod_new(mod_dir, NULL);
|
D | kmod.pxd | 22 cdef object mod_dir
|
/external/python/asn1crypto/tests/ |
D | __init__.py | 13 def _import_from(mod, path, mod_dir=None): argument 31 if mod_dir is None: 32 mod_dir = mod 37 if not os.path.exists(os.path.join(path, mod_dir)): 41 mod_info = imp.find_module(mod_dir, [path])
|
/external/python/setuptools/setuptools/ |
D | wheel.py | 159 mod_dir = os.path.join(destination_eggdir, *mod.split('.')) 160 mod_init = os.path.join(mod_dir, '__init__.py') 161 if os.path.exists(mod_dir) and not os.path.exists(mod_init):
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_discovery.py | 351 mod_dir = os.path.abspath('bar') 354 "Is this module globally installed?" % (mod_dir, expected_dir)) 366 mod_dir = os.path.abspath('bar') 374 if path == os.path.join(mod_dir, 'foo.py'):
|
/external/u-boot/test/py/ |
D | multiplexed_log.py | 14 mod_dir = os.path.dirname(os.path.abspath(__file__)) variable 233 shutil.copy(mod_dir + '/multiplexed_log.css', os.path.dirname(fn))
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 757 mod_dir = os.path.abspath('bar') 760 "Is this module globally installed?" % (mod_dir, expected_dir)) 772 mod_dir = os.path.abspath('bar') 780 if path == os.path.join(mod_dir, 'foo.py'):
|
/external/python/cpython2/Tools/msi/ |
D | msi.py | 1380 mod_dir = os.path.join(os.environ["ProgramFiles"], "Common Files", "Merge Modules") variable 1387 modules[i] = os.path.join(mod_dir, n)
|