Buildout support for non-Django projects?

I have a project using buildout, and PyCharm RC2 seems to automatically check "Enable buildout support" for me in the settings. And I've chosen the right script in my bin directory. But when I try to import anything from my egg dependencies, it doesn't pick them up. This is leading me to wonder whether the buildout egg magic only happens if it's a Django project or not, or am I running into some sort of extra bug?

2 comments
Comment actions Permalink

Hello Michael,

The buildout support is not specific to Django. Could you please file a YouTrack

issue at http://youtrack.jetbrains.net/ and provide more details about your

project configuration?

I have a project using buildout, and PyCharm RC2 seems to

automatically check "Enable buildout support" for me in the settings.

And I've chosen the right script in my bin directory. But when I try

to import anything from my egg dependencies, it doesn't pick them up.

This is leading me to wonder whether the buildout egg magic only

happens if it's a Django project or not, or am I running into some

sort of extra bug?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

It looks like my problem is actually bug PY-806 - pretty much all the dependencies in my projects (apart from django itself in django projects), so I had assumed that it was the buildout support that wasn't actually working properly.

As a temporary workaround, I've added:

[easy_install]
zip_ok = 0

to ~/.pydistutils.cfg which causes buildout to install all its eggs unzipped. (Just mentioning this here incase anyone else runs into the same problem)

0

Please sign in to leave a comment.