[Distutils] installing .py plugins to an alternate directory
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
> Distutils-SIG maillist - Distutils-SIG at python.org
GPG Key FingerPrint: 0x1A1194B7681112AF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Distutils-SIG