Permalink
Browse files

Setup virtualenv

  • Loading branch information...
1 parent ce372fd commit 489fccd337014a755c7496fa020d4a566b572765 @bartvandendriessche committed Dec 23, 2013
Showing with 15 additions and 13 deletions.
  1. +15 −13 settings/settings-python.el
@@ -1,17 +1,19 @@
(progn
(setq el-get-sources (append el-get-sources
- '((:name jedi :after (progn
- (add-hook 'python-mode-hook 'jedi:setup)
- (setq jedi:install-imenu)
- (setq jedi:use-shortcuts t)
- (setq jedi:complete-on-dot t)))
- (:name pony-mode
- :description "A Django mode for Emacs, with a few minor tweaks."
- :type github
- :pkgname "bartvandendriessche/pony-mode"
- :branch "caldai"
- :load-path "src"
- :features pony-mode)
- (:name virtualenv)))))
+ '((:name jedi :after (progn
+ (add-hook 'python-mode-hook 'jedi:setup)
+ (setq jedi:install-imenu)
+ (setq jedi:use-shortcuts t)
+ (setq jedi:complete-on-dot t)))
+ (:name pony-mode
+ :description "A Django mode for Emacs, with a few minor tweaks."
+ :type github
+ :pkgname "bartvandendriessche/pony-mode"
+ :branch "caldai"
+ :load-path "src"
+ :features pony-mode)
+ (:name virtualenv :after (progn
+ (put 'virtualenv-workon 'safe-local-variable 'stringp)
+ (put 'virtualenv-default-directory 'safe-local-variable 'stringp)))))))
(provide 'settings-python)

0 comments on commit 489fccd

Please sign in to comment.