@@ -8,14 +8,14 @@ Pyenv mode
8
8
9
9
|melpa |
10
10
11
- Integrate Fabián E. Gallina `python.el `_ with pyenv _ tool. This allow
12
- packages which already use python.el (like python-django _) got pyenv
13
- virtual environments support out-of-the-box.
11
+ Pyenv mode integrates Fabián E. Gallina's `python.el `_ with the pyenv _ tool.
12
+ This gives packages which already use python.el (like python-django _)
13
+ pyenv virtual environment support out-of-the-box.
14
14
15
15
Pyenv mode does...
16
16
~~~~~~~~~~~~~~~~~~
17
17
18
- * Setup ``PYENV_VERSION `` environment variable and
18
+ * Setup the ``PYENV_VERSION `` environment variable and
19
19
``python-shell-virtualenv-path `` custom variable based on user input
20
20
21
21
Pyenv mode doesn't...
@@ -29,49 +29,49 @@ Pyenv mode doesn't...
29
29
Installation
30
30
------------
31
31
32
- You can simply install package from Melpa _::
32
+ You can simply install the package from Melpa _::
33
33
34
34
M-x package-install RET pyenv-mode
35
35
36
36
Usage
37
37
-----
38
38
39
- Add following block to your emacs configuration
39
+ Add following block to your Emacs configuration:
40
40
41
41
.. code :: lisp
42
42
43
43
(pyenv-mode)
44
44
45
- Now you are available to specify pyenv python version::
45
+ Now you can specify the pyenv Python version::
46
46
47
47
M-x pyenv-mode-set
48
48
49
- So now when you run inferior python with::
49
+ So now when you run inferior Python with::
50
50
51
51
M-x run-python
52
52
53
- process will start inside specified python installation. You can
54
- unset current version with::
53
+ The process will start inside the specified Python installation. You can
54
+ unset the current version with::
55
55
56
56
M-x pyenv-mode-unset
57
57
58
58
Goodies
59
59
-------
60
60
61
- When you set python version with ``pyenv-mode `` following changes
62
- happens automatically
61
+ When you set the Python version with ``pyenv-mode ``, the following changes
62
+ happen automatically:
63
63
64
- * compile commands use proper python version and environment
65
- * flycheck _ perform syntax checking according to python version you use
66
- * anaconda-mode _ search completions, definitions and references in chosen environment
64
+ * compile commands use proper Python version and environment
65
+ * flycheck _ performs syntax checking according to Python version you use
66
+ * anaconda-mode _ search completions, definitions and references respect the chosen environment
67
67
68
68
Projectile integration
69
69
``````````````````````
70
70
71
- You can switch python version together with current project. Drop
72
- following lines into emacs init file. When use projectile switch
73
- project with ``C-c p p `` key binding ``pyenv-mode `` will activate
74
- environment matched project name.
71
+ You can switch Python versions together with your current project. Drop
72
+ the following lines into your Emacs init file. When you use projectile switch
73
+ project with the ``C-c p p `` key binding ``pyenv-mode `` will activate the
74
+ environment matched to the project's name.
75
75
76
76
.. code :: lisp
77
77
0 commit comments