ninja-ide/ninja-ide — Issue #279: install script fails to find PyQt4
Author: ddale
Created: 2012-02-22 16:46:36+00:00
State: open

The install_requires feature is failing to find my already-installed PyQt4-4.9 so setuptools is attempting to download and install PyQt4:

Searching for PyQt4
Reading http://pypi.python.org/simple/PyQt4/
Couldn't find index page for 'PyQt4' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for PyQt4
error: Could not find suitable distribution for Requirement.parse('PyQt4')

which would not work even if it found a download link because PyQt4 does not have a setup script.

Is setuptools really necessary for this project? The find_packages functionality can probably be reproduced with 6 lines of code. I work on several projects myself, and no longer use setuptools because it caused too many problems.