[PEAK] Just starting

Phillip J. Eby pje at telecommunity.com
Fri Apr 6 18:02:50 EDT 2007

At 09:12 AM 4/6/2007 +0200, Richard Jennings wrote:
>I'm just starting with easy_install & setuptools and so far I think they are
>great. However I am having a bit of a problem with one of the examples in
>the EasyInstall documentation, namely "Installing on Un-networked Machines".
>My final objective here is to package my application with all of its
>dependencies in a single directory to install on any machine I like.
>If I execute "Downloading and Installing a Package", example 1, it works.
>Actually, I already have this installed and the messages are all consistent
>with this fact.
>If I execute:
>easy_install -H -f "packages" SQLObject
>Where the directory packages is local and contains the SQLObject egg
>I get:
>error: Couldn't find a setup script in packages
>For me, the only difference between the 2 commands is the source of the
>SQLObjects package, so I would expect exactly the same behaviour. Please
>tell me what am I missing here?

Your '-H' is consuming the '-f'.  Please re-read the example in the 
documentation you referenced above; it says:

    easy_install -H None -f somedir SomePackage

You left out the "None", so your command is being parsed as if you said:

    easy_install --allow-hosts="-f" packages SQLObject

More information about the PEAK mailing list