[Distutils] development-egg in current directory

Hartmut Goebel h.goebel at goebel-consult.de
Wed Sep 3 17:43:25 CEST 2008


Phillip J. Eby schrieb:
> At 04:58 PM 9/3/2008 +0200, Hartmut Goebel wrote:
>> Hi,
>>
>> I'm currently installing development eggs into the current directory
>> (the checkout directory) like this:
>>
>>   PYTHONPATH=.:$PYTHONPATH \
>>      python setup.py develop --install-dir . --script-dir .
>>
>> Since this has problems when re-running (see issue40), I wonder whether
>> this is the correct use of the 'develop' egg. Any hints?
>
> It's definitely not the correct use, especially since, depending on your
> layout, it could potentially overwrite your scripts.  develop is
> intended for installing to a directory that's normally *already on*
> sys.path.  Why are you doing that?

Because I defined script-entry-points which I need to test. If there is
another way to so this, I'll happily change :-)

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3195 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080903/3fec2b76/attachment.bin>


More information about the Distutils-SIG mailing list