File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,25 @@ Usage
22
22
-----
23
23
24
24
This library provide function for convenient running python on
25
- different platforms on local and remote hosts.
25
+ different platforms on local and remote hosts including Docker
26
+ containers. To use ``pythonic `` with Docker you need to install
27
+ `docker-tramp `_ Emacs package.
26
28
27
29
You can use remote interpreter
28
30
29
31
.. code :: lisp
30
32
31
33
(setq python-shell-interpreter "/ssh:user@host:/usr/bin/python")
34
+ ;; or
35
+ (setq python-shell-interpreter "/docker:root@container:/usr/bin/python")
32
36
33
37
You can use remote virtual environment
34
38
35
39
.. code :: lisp
36
40
37
41
(setq python-shell-virtualenv-root "/ssh:user@host:env")
42
+ ;; or
43
+ (setq python-shell-virtualenv-root "/docker:root@container:/src/app/env")
38
44
39
45
``python-shell-exec-path `` and ``python-shell-process-environment ``
40
46
will be translated to remote host too.
@@ -106,3 +112,4 @@ pythonic-deactivate
106
112
Deactivate python virtual environment.
107
113
108
114
.. _Melpa : http://melpa.org
115
+ .. _docker-tramp : https://github.com/emacs-pe/docker-tramp.el
You can’t perform that action at this time.
0 commit comments