Home
last modified time | relevance | path

Searched refs:script_text (Results 1 – 3 of 3) sorted by relevance

/external/python/setuptools/setuptools/command/
Deasy_install.py797 def install_script(self, dist, script_name, script_text, dev_path=None): argument
800 is_script = is_python_script(script_text, script_name)
804 script_text = ScriptWriter.get_header(script_text) + body
805 self.write_script(script_name, _to_ascii(script_text), 'b')
1931 def is_python_script(script_text, filename): argument
1936 if is_python(script_text, filename):
1938 if script_text.startswith('#!'):
1940 return 'python' in script_text.splitlines()[0].lower()
2010 def install_options(self, script_text): argument
2011 self.options = shlex.split(self._extract_options(script_text))
[all …]
Ddevelop.py187 script_text = strm.read()
188 self.install_script(dist, script_name, script_text, script_path)
/external/python/setuptools/pkg_resources/
D__init__.py1431 script_text = self.get_metadata(script).replace('\r\n', '\n')
1432 script_text = script_text.replace('\r', '\n')
1442 len(script_text), 0, script_text.split('\n'), script_filename
1444 script_code = compile(script_text, script_filename, 'exec')