capybara/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py
def as_header(self):
        """
        Workaround Jython's sys.executable being a .sh (an invalid
        shebang line interpreter)
        """
        if not is_sh(self[0]):
            return super(JythonCommandSpec, self).as_header()

        if self.options:
            # Can't apply the workaround, leave it broken
            log.warn(
                "WARNING: Unable to adapt shebang line for Jython,"
                " the following script is NOT executable\n"
                "         see http://bugs.jython.org/issue1112 for"
                " more information.")
            return super(JythonCommandSpec, self).as_header()

        items = ['/usr/bin/env'] + self + list(self.options)
        return self._render(items)
def as_header(self):
        """
        Workaround Jython's sys.executable being a .sh (an invalid
        shebang line interpreter)
        """
        if not is_sh(self[0]):
            return super(JythonCommandSpec, self).as_header()

        if self.options:
            # Can't apply the workaround, leave it broken
            log.warn(
                "WARNING: Unable to adapt shebang line for Jython,"
                " the following script is NOT executable\n"
                "         see http://bugs.jython.org/issue1112 for"
                " more information.")
            return super(JythonCommandSpec, self).as_header()

        items = ['/usr/bin/env'] + self + list(self.options)
        return self._render(items)
Workaround Jython's sys.executable being a .sh (an invalid
        shebang line interpreter)