When one of the console scripts is named like the package plus the '.py' extension, running the script will raise this error (package name: epu, script name: epu.py):
Traceback (most recent call last): File "/home/danny/sandbox/virtualenvs/test/bin/epu.py", line 8, in <module> load_entry_point('epu==0.1dev', 'console_scripts', 'epu.py')() File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 337, in load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2280, in load_entry_point ImportError: Entry point ('console_scripts', 'epu.py') not found
After this script is installed, it also breaks any other console script installed in the distribution.
I'm using distribute 0.6.19 and python 2.7.2
I don't know if this is an issue or a feature but a more informative error will be very helpful.