pyflakes script not executable on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
Fix Released
|
Low
|
Unassigned |
Bug Description
Pyflakes script is installed on Windows without any extension. As a result, on Windows, it has no file type and cannot be executed from a command-line. Consider using setuptools console_script entry_points or adding a .py extension when installing under Windows.
PS C:\Users\jaraco> easy_install pyflakes
Searching for pyflakes
Reading http://
Reading http://
Reading http://
Best match: pyflakes 0.4.0
Downloading http://
Processing pyflakes-
Running pyflakes-
hgtools.
zip_safe flag not set; analyzing archive contents...
pyflakes.checker: module references __file__
pyflakes.checker: module references __path__
pyflakes.
pyflakes.
Adding pyflakes 0.4.0 to easy-install.pth file
Installing pyflakes script to C:\Python\Scripts
Installed c:\python\
Processing dependencies for pyflakes
Finished processing dependencies for pyflakes
Changed in pyflakes: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in pyflakes: | |
milestone: | none → 0.6.1 |
status: | Fix Committed → Fix Released |
I get this trying to use pyflakes on Windows (Python 2.6 - windows 7 - pyflakes 0.4.0):
C:\My Dropbox\ RoboRally\ RoboRallyIronPy thon Scripts\ pyflakes. py", line 3, in <module> scripts. pyflakes import main Scripts\ pyflakes. py", line 3, in <module> scripts. pyflakes import main
> pyflakes MyBrain.py
Traceback (most recent call last):
File "C:\Python26\
from pyflakes.
File "C:\Python26\
from pyflakes.
ImportError: No module named scripts.pyflakes
That is after installation with easy_install. Using pip it doesn't install an executable script for Windows at all.