← Back to team overview

divmod-dev team mailing list archive

[Bug 794331] [NEW] pyflakes script not executable on Windows

 

Public bug reported:

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://pypi.python.org/simple/pyflakes/
Reading http://www.divmod.org/projects/pyflakes
Reading http://www.divmod.org/trac/wiki/DivmodPyflakes
Best match: pyflakes 0.4.0
Downloading http://pypi.python.org/packages/source/p/pyflakes/pyflakes-0.4.0.tar.gz#md5=630a72510aae8758f48cf60e4fa17176
Processing pyflakes-0.4.0.tar.gz
Running pyflakes-0.4.0\setup.py -q bdist_egg --dist-dir c:\users\jaraco\appdata\local\temp\easy_install-bi_1bs\pyflakes-0.4.0\egg-dist-tmp-u6vcvn
hgtools.SubprocessManager('.') could not find files: abort: There is no Mercurial repository here (.hg not found)!
zip_safe flag not set; analyzing archive contents...
pyflakes.checker: module references __file__
pyflakes.checker: module references __path__
pyflakes.test.test_undefined_names: module references __file__
pyflakes.test.test_undefined_names: module references __path__
Adding pyflakes 0.4.0 to easy-install.pth file
Installing pyflakes script to C:\Python\Scripts

Installed c:\python\lib\site-packages\pyflakes-0.4.0-py2.7.egg
Processing dependencies for pyflakes
Finished processing dependencies for pyflakes

** Affects: pyflakes
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/794331

Title:
  pyflakes script not executable on Windows

Status in Pyflakes:
  New

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://pypi.python.org/simple/pyflakes/
  Reading http://www.divmod.org/projects/pyflakes
  Reading http://www.divmod.org/trac/wiki/DivmodPyflakes
  Best match: pyflakes 0.4.0
  Downloading http://pypi.python.org/packages/source/p/pyflakes/pyflakes-0.4.0.tar.gz#md5=630a72510aae8758f48cf60e4fa17176
  Processing pyflakes-0.4.0.tar.gz
  Running pyflakes-0.4.0\setup.py -q bdist_egg --dist-dir c:\users\jaraco\appdata\local\temp\easy_install-bi_1bs\pyflakes-0.4.0\egg-dist-tmp-u6vcvn
  hgtools.SubprocessManager('.') could not find files: abort: There is no Mercurial repository here (.hg not found)!
  zip_safe flag not set; analyzing archive contents...
  pyflakes.checker: module references __file__
  pyflakes.checker: module references __path__
  pyflakes.test.test_undefined_names: module references __file__
  pyflakes.test.test_undefined_names: module references __path__
  Adding pyflakes 0.4.0 to easy-install.pth file
  Installing pyflakes script to C:\Python\Scripts

  Installed c:\python\lib\site-packages\pyflakes-0.4.0-py2.7.egg
  Processing dependencies for pyflakes
  Finished processing dependencies for pyflakes


Follow ups

References