Problem with buildout/django
Hi,
I'm test-driving Pycharm 2.5.1 with a django 1.3 project I'm working on.
The project uses buildout, so in project settings, I checked "Enable Buildout support" and gave it the path to bin/django. But this setting is refused with an error message:
"Changes were not applied because of an error. Failed to extract paths from django"
The file itself is like this:
#!/usr/bin/python
import sys
eggs_path = [
...paths to eggs and other stuff here...
]
sys.path[0:0] = eggs_path
import our.stuff.django.manage
if __name__ == '__main__':
our.stuff.django.manage.main('project.development')
Any idea ?
Thanks,
Bernard
Please sign in to leave a comment.
Which version of buildout are you using? Looks like PyCharm doesn't recognize this variant of the buildout-generated script format.
Hi,
It looks like it's version 1.5.2
Thanks,
Bernard