David Cournapeau wrote:
> Toshio Kuratomi wrote:
>> They don't have bearing on talking about
>> redesigning how to design a new architecture that's easy to extend.
>>
>
> Those examples show why extending distutils commands with subclassing +
> post processing is not always enough. I don't unde
Here's a draft for an extensible command based on plugin;
http://wiki.python.org/moin/Distutils/ManifestPluginSystem/Draft
Let me know how it fits your use cases.
Regards
Tarek
--
Tarek Ziadé | http://ziade.org
___
Distutils-SIG maillist - Distutil
On Fri, Apr 17, 2009 at 1:54 PM, cdavid wrote:
>
> A related problem, but maybe outside the scope of your proposal is dealing
> with communication between commands. I think the only way to do it at the
> moment is to attach those data to the Distribution instance - that's very
> fragile (if only b
Hi Tarek,
Tarek Ziadé wrote:
>
>
> == work in progress, ==
>
> What we want to do here is being able to define subsets in run(),
> sharing the same options environment.
>
> so basically, a rough, generic run() method could be:
>
> def run():
>for func in some_funcs:
> func(self, o
Toshio Kuratomi wrote:
> They don't have bearing on talking about
> redesigning how to design a new architecture that's easy to extend.
>
Those examples show why extending distutils commands with subclassing +
post processing is not always enough. I don't understand why they would
not be releva
David Cournapeau wrote:
> Toshio Kuratomi wrote:
>> Tarek Ziadé wrote:
>>
>>> Hello,
>>>
>>> This is a side discussion but quiet important ihmo.
>>>
>>> == Problem ==
>>>
>>> Some people complained about the fact that is was hard to extend
>>> Distutils commands.
>>> You end up rewriting the who
Toshio Kuratomi wrote:
> Tarek Ziadé wrote:
>
>> Hello,
>>
>> This is a side discussion but quiet important ihmo.
>>
>> == Problem ==
>>
>> Some people complained about the fact that is was hard to extend
>> Distutils commands.
>> You end up rewriting the whole command most of the time.
>>
>> So
Tarek Ziadé wrote:
> Hello,
>
> This is a side discussion but quiet important ihmo.
>
> == Problem ==
>
> Some people complained about the fact that is was hard to extend
> Distutils commands.
> You end up rewriting the whole command most of the time.
>
> So what's a command ? It's a class that
Hello,
This is a side discussion but quiet important ihmo.
== Problem ==
Some people complained about the fact that is was hard to extend
Distutils commands.
You end up rewriting the whole command most of the time.
So what's a command ? It's a class that is used by the distribution
instance whe