Message325

Author zooko
Recipients evilrob, joss, pje, zooko
Date 2009-07-12.01:41:10
Content
I have a similar problem with pywin32.  I've described this over on
http://allmydata.org/trac/tahoe/ticket/756 (if pywin32 has been manually
installed, setuptools still doesn't detect it), but here is the minimal test case:

Put the following into a file named {{{setup.py}}} in a new empty directory:

{{{
import pkg_resources
if pkg_resources.require("pywin32"):
    print "Yes, pkg_resources says that pywin32 is already installed."
from setuptools import setup
setup(name='mindeponpywin32', install_requires=['pywin32'])
}}}

Make sure pywin32 is installed (by executing the installer for it and clickety
clickety clicking).

Then run the following command:

{{{
$ python ./setup.py develop
}}}

It will say something like:

{{{
Yes, pkg_resources says that pywin32 is already installed.
running develop
}}}
...
{{{
Processing dependencies for mindeponpywin32==0.0.0
Searching for pywin32
Reading http://pypi.python.org/simple/pywin32/
Reading http://sf.net/projects/pywin32
Reading http://sourceforge.net/project/showfiles.php?group=78018
No local packages or download links found for pywin32
error: Could not find suitable distribution for Requirement.parse('pywin32')
}}}
History
Date User Action Args
2009-07-12 01:41:10zookosetmessageid: <1247362870.59.0.630852456929.issue17@psf.upfronthosting.co.za>
2009-07-12 01:41:10zookosetrecipients: + zooko, pje, joss, evilrob
2009-07-12 01:41:10zookolinkissue17 messages
2009-07-12 01:41:10zookocreate