How use Distutils for plugins ?
I've discovered the Distutils mailing list after my post to comp.lang.python http://groups.google.be/group/comp.lang.python/browse_thread/thread/b66d6ea5... Does any one have an idea how to use distutils to install sub-elements (f.e. plugins) of a main packages (already installed). Thanks. -- William: http://www.opensource4you.com
On 9/25/05, william@opensource4you.com <william@opensource4you.com> wrote:
I've discovered the Distutils mailing list after my post to comp.lang.python
http://groups.google.be/group/comp.lang.python/browse_thread/thread/b66d6ea5...
Does any one have an idea how to use distutils to install sub-elements (f.e. plugins) of a main packages (already installed).
You probably want to use setuptools http://peak.telecommunity.com/DevCenter/setuptools Python Eggs let you break up a package into multiple subpackages, specify dependencies, specify optional parts to install at installation time, and even have a way to dynamically locate which plugins satisfy which features. Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email: kid@blazingthings.com company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com
participants (2)
-
Kevin Dangoor
-
william@opensource4you.com