Mailing List Archive

setuptools missing interpreter for easy_install
setuptools-0.7.2-7.el6.noarch provides /usr/bin/easy_install and /usr/bin/easy_install-2.6

Both scripts are missing the rest of the first line for the python interpreter:

#!
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.7.2','console_scripts','easy_install'


Note there is a single space after #! on line 1...could be a clue!

This results in the script being interpreted by bash and of course it falls over:

$ easy_install foo
/usr/bin/easy_install: line 3: __requires__: command not found


Making line 1 look like:

#!/usr/bin/python

seems to work.

Thanks!

_______________________________________________
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel