Re: Dynamic and lazy import

2007-10-17 Thread Diez B. Roggisch
>> Diez > > Well, I would like to be able to use "setuptools", but the problem is > that I can't. > Cause the administrator do not want us to be able to add lib in python > dir. > So we have to create our own library directory... That doesn't matter, setuptools is capable of installing anywhere -

Re: Dynamic and lazy import

2007-10-17 Thread Alexandre Badez
On Oct 17, 3:56 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Alexandre Badez wrote: > > Thanks for all your advices, but it's not really what I would like to > > do. > > > I'm going to be more clearer for what I really want to do. > > > Here we have got many library for different application

Re: Dynamic and lazy import

2007-10-17 Thread Diez B. Roggisch
Alexandre Badez wrote: > Thanks for all your advices, but it's not really what I would like to > do. > > I'm going to be more clearer for what I really want to do. > > Here we have got many library for different applications. All those > library have a version and between a version and an other,

Re: Dynamic and lazy import

2007-10-17 Thread Alexandre Badez
Thanks for all your advices, but it's not really what I would like to do. I'm going to be more clearer for what I really want to do. Here we have got many library for different applications. All those library have a version and between a version and an other, there isn't always a very good backwa

Re: Dynamic and lazy import

2007-10-16 Thread Stargaming
On Tue, 16 Oct 2007 13:16:50 +, Alexandre Badez wrote: > Hye everyone, > > I'm would like to do something a bit tricky. > > I would like when I do something like to create a __init__ package's > (here calle my_package) file witch make an action when we try to import > something in this packa

Re: Dynamic and lazy import

2007-10-16 Thread Gabriel Genellina
En Tue, 16 Oct 2007 10:16:50 -0300, Alexandre Badez <[EMAIL PROTECTED]> escribió: > I would like when I do something like to create a __init__ package's > (here calle my_package) file witch make an action when we try to > import something in this package... > > Quiet like __getattribute__ work f

Dynamic and lazy import

2007-10-16 Thread Alexandre Badez
Hye everyone, I'm would like to do something a bit tricky. I would like when I do something like to create a __init__ package's (here calle my_package) file witch make an action when we try to import something in this package... Quiet like __getattribute__ work for a class, I would like this kin