capybara/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py
def install_script(self, dist, script_name, script_text, dev_path=None):
        """Generate a legacy script wrapper and install it"""
        spec = str(dist.as_requirement())
        is_script = is_python_script(script_text, script_name)

        if is_script:
            script_text = (ScriptWriter.get_header(script_text) +
                           self._load_template(dev_path) % locals())
        self.write_script(script_name, _to_ascii(script_text), 'b')
def install_script(self, dist, script_name, script_text, dev_path=None):
        """Generate a legacy script wrapper and install it"""
        spec = str(dist.as_requirement())
        is_script = is_python_script(script_text, script_name)

        if is_script:
            script_text = (ScriptWriter.get_header(script_text) +
                           self._load_template(dev_path) % locals())
        self.write_script(script_name, _to_ascii(script_text), 'b')
def install_script ( self , dist , script_name , script_text , dev_path = None ) : spec = str ( dist . as_requirement ( ) ) is_script = is_python_script ( script_text , script_name ) if is_script : script_text = ( ScriptWriter . get_header ( script_text ) + self . _load_template ( dev_path ) % locals ( ) ) self . write_script ( script_name , _to_ascii ( script_text ) , 'b' )
Generate a legacy script wrapper and install it
Generate a legacy script wrapper and install it