Lines Matching refs:name
30 def _convert_name(name):
33 # a better check would be to check that the name is a
34 # valid Python module name.
35 if os.path.isfile(name) and name.lower().endswith('.py'):
36 if os.path.isabs(name):
37 rel_path = os.path.relpath(name, os.getcwd())
39 return name
40 name = rel_path
43 return os.path.normpath(name)[:-3].replace('\\', '.').replace('/', '.')
44 return name
47 return [_convert_name(name) for name in names]