Home
last modified time | relevance | path

Searched refs:mod_dir (Results 1 – 9 of 9) sorted by relevance

/external/python/asn1crypto/dev/
D_import.py16 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/
Dkmod.pyx33 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);
Dkmod.pxd22 cdef object mod_dir
/external/python/asn1crypto/tests/
D__init__.py13 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/
Dwheel.py159 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/
Dtest_discovery.py351 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/
Dmultiplexed_log.py14 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/
Dtest_discovery.py757 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/
Dmsi.py1380 mod_dir = os.path.join(os.environ["ProgramFiles"], "Common Files", "Merge Modules") variable
1387 modules[i] = os.path.join(mod_dir, n)