git://git.eng.unimelb.edu.au
/
python-guide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6cef5d
)
fix spelling in env.rst
author
Ryan Campbell
<campbellr@gmail.com>
Wed, 4 Jul 2012 03:40:36 +0000
(21:40 -0600)
committer
Ryan Campbell
<campbellr@gmail.com>
Wed, 4 Jul 2012 03:40:36 +0000
(21:40 -0600)
docs/dev/env.rst
patch
|
blob
|
history
diff --git
a/docs/dev/env.rst
b/docs/dev/env.rst
index
2c4ba03
..
b1678e5
100644
(file)
--- a/
docs/dev/env.rst
+++ b/
docs/dev/env.rst
@@
-15,7
+15,7
@@
VIM
Vim is a text editor which uses keyboard shortcuts for editing instead of menus
or icons. There exist a couple of plugins and settings for the VIM editor to
aid python development. If you only develop in Python, a good start is to set
Vim is a text editor which uses keyboard shortcuts for editing instead of menus
or icons. There exist a couple of plugins and settings for the VIM editor to
aid python development. If you only develop in Python, a good start is to set
-the default settings for indentation and linewrapping to values compliant with
+the default settings for indentation and line
-
wrapping to values compliant with
`PEP 8 <http://www.python.org/dev/peps/pep-0008/>`_. In your home directory,
open a file called `.vimrc` and add the following lines: ::
`PEP 8 <http://www.python.org/dev/peps/pep-0008/>`_. In your home directory,
open a file called `.vimrc` and add the following lines: ::
@@
-151,7
+151,7
@@
Create a virtual environment for a project::
$ cd my_project
$ virtualenv venv
$ cd my_project
$ virtualenv venv
-``virtualenv venv`` will create a folder in the curre
c
t directory
+``virtualenv venv`` will create a folder in the curre
n
t directory
which will contain the Python executable files, and a copy of the ``pip``
library which you can use to install other packages. The name of the
virtual environment (in this case, it was ``venv``) can be anything;
which will contain the Python executable files, and a copy of the ``pip``
library which you can use to install other packages. The name of the
virtual environment (in this case, it was ``venv``) can be anything;