Closed iddqd3 closed 11 years ago
Add rows in /your_project/.ropeproject/config.py
:
prefs.add('python_path', '/usr/lib/python2.7')
prefs.add('python_path', '/usr/lib/python2.7/site-packages')
and select menu "Edit Project"
,"settings":{
"rope_autoimport_modules":
[
"django.*"
]
}
Hi In my system PYTHONPATH set in /etc/profile.d/python.sh
# /etc/profile.d/python.sh export PYTHONPATH=/usr/lib/python2.7:/usr/lib/python2.7/site-packages:/home/${USER}/.local/lib/python2.7/site-packages
but Sublime Text not set this, so in Sublimerope not work "Go to Defenition"
If i'm manual add via sublime console (Ctrl+`):
import sys; sys.path.append('/usr/lib/python2.7/site-packages')
and set "rope_autoimport_modules" "Go to Defenition" is workP.S sorry for my English