Cool, thanks for the explanation.
Le 19 févr. 2013 09:37, "rgaudin" <notifications@github.com> a écrit :

> In setup.py:
>
> >  from distutils.core import setup
> >
> > +imp.load_source('bamboo_version', 'bamboo/version.py')
>
> from bamboo.version import xx here would catch all the imports that you
> added in __init__.py which means basically all the dependencies. This
> would thus prevent setup.py to run properly since it is the one
> retrieving the dependencies.
>
> imp allows to import a module from a file path and import just that (not
> its parents).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/modilabs/bamboo/pull/462/files#r3062597>.
>
>