Lines Matching refs:dep
16 import setuptools.depends as dep namespace
37 not hasattr(dep, 'get_module_constant'),
44 if not hasattr(dep, 'extract_constant'):
56 assert dep.extract_constant(fc, 'q', -1) is None
59 dep.extract_constant(fc, 'x', -1) == "test"
62 dep.extract_constant(fc, 'y', -1) == -1
65 dep.extract_constant(fc, 'z', -1) is None
69 dep.find_module('no-such.-thing')
71 dep.find_module('setuptools.non-existent')
72 f, p, i = dep.find_module('setuptools.tests')
78 assert dep.get_module_constant('json', '__version__') == __version__
79 assert dep.get_module_constant('sys', 'version') == sys.version
80 assert dep.get_module_constant('setuptools.tests.test_setuptools', '__doc__') == __doc__