[Distutils] buildout: referencing sub-project with bad directory form

jcalcote john.calcote at gmail.com
Thu Jan 26 21:57:00 CET 2012

So, I discovered a way of doing this - I moved the 'pywbem' directory into my
project's 'src' directory:

c:\...\my-project>tree /A

then changed my buildout.cfg file from:

        devel = . pywbem


        devel = . src/pywbem

This works, of course, because my 'src' directory is one of the items that
buildout adds to sys.path, so pywbem is naturally found there. Naturally,
'src/pywbem' is also added to the sys.path, but that addition has no effect
in this case.

I consider this a hack. If anyone has better ideas, I'd love to hear them...


View this message in context: http://python.6.n6.nabble.com/buildout-referencing-sub-project-with-bad-directory-form-tp4341312p4341656.html
Sent from the Python - distutils-sig mailing list archive at Nabble.com.

More information about the Distutils-SIG mailing list