Index: easy_install.py =================================================================== --- easy_install.py (revision 110703) +++ easy_install.py (working copy) @@ -1063,7 +1063,7 @@ generated.append(dest) return generated -if is_jython and jython_os_name == 'linux': +if is_jython and jython_os_name in ('mac os x', 'linux'): script_header = '#!/usr/bin/env %(python)s' else: script_header = '#!%(python)s'