[Distutils] installing .py plugins to an alternate directory

kiorky kiorky at cryptelium.net
Fri Dec 4 09:18:05 CET 2009


David Cournapeau a écrit :
> Tarek Ziadé wrote:
>> where "package.spam_extension" and "spam_extension2" are modules Akara
>> would simply __import__()
>> Meaning a plugin will be a normal project that gets installed, and
>> then configured to be used in Akara.
>>   
> 
> This solution is simpler, but it does not solve the issue of installing
> the plugin outside site-packages. I think it is good practice not to
> pollute site-packages with app-specific plugins.
ZopeComponentArchitecture/Entry points with an assembler like buildout for the
later won't pollute site-packages
> 
> David
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

-- 
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091204/0d658a8c/attachment.pgp>


More information about the Distutils-SIG mailing list