I have the following tree:
 /
 /foo.py
 /lib
 /lib/package

(package is a dir with __init__ etc.
When, in setup.py I do : setup(packages=['package'], package_dir =
{'':lib}), it Just Works. 

When I add in the script - (packages=['package'], package_dir =
{'':lib}, scripts=['foo.py']), it starts installing 'package' twice -
once into site-packages/package (where it should), and once into
site-packages/lib/package (where it should not)

running with debug on, there is no sign of the confusion until
'install_lib' occurs.

Cheers,
Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to