mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
minor: remove trailing whitespace
This commit is contained in:
parent
200adac02f
commit
8595df4e18
1 changed files with 15 additions and 15 deletions
30
README.md
30
README.md
|
@ -137,7 +137,7 @@ specified, it passes the command along to the corresponding Python
|
||||||
installation.
|
installation.
|
||||||
|
|
||||||
Each Python version is installed into its own directory under
|
Each Python version is installed into its own directory under
|
||||||
`~/.pyenv/versions`.
|
`~/.pyenv/versions`.
|
||||||
|
|
||||||
For example, you might have these versions installed:
|
For example, you might have these versions installed:
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ https://github.com/yyuu/pyenv-installer
|
||||||
This will get you going with the latest version of pyenv and make it
|
This will get you going with the latest version of pyenv and make it
|
||||||
easy to fork and contribute any changes back upstream.
|
easy to fork and contribute any changes back upstream.
|
||||||
|
|
||||||
1. **Check out pyenv where you want it installed.**
|
1. **Check out pyenv where you want it installed.**
|
||||||
A good place to choose is `$HOME/.pyenv` (but you can install it somewhere else).
|
A good place to choose is `$HOME/.pyenv` (but you can install it somewhere else).
|
||||||
|
|
||||||
$ cd
|
$ cd
|
||||||
|
@ -176,7 +176,7 @@ easy to fork and contribute any changes back upstream.
|
||||||
|
|
||||||
|
|
||||||
2. **Define environment variable `PYENV_ROOT`** to point to the path where
|
2. **Define environment variable `PYENV_ROOT`** to point to the path where
|
||||||
pyenv repo is cloned and add `$PYENV_ROOT/bin` to your `$PATH` for access
|
pyenv repo is cloned and add `$PYENV_ROOT/bin` to your `$PATH` for access
|
||||||
to the `pyenv` command-line utility.
|
to the `pyenv` command-line utility.
|
||||||
|
|
||||||
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
|
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
|
||||||
|
@ -192,25 +192,25 @@ easy to fork and contribute any changes back upstream.
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
4. **Restart your shell so the path changes take effect.**
|
4. **Restart your shell so the path changes take effect.**
|
||||||
You can now begin using pyenv.
|
You can now begin using pyenv.
|
||||||
|
|
||||||
$ exec $SHELL
|
$ exec $SHELL
|
||||||
|
|
||||||
5. **Install Python versions into `$PYENV_ROOT/versions`.**
|
5. **Install Python versions into `$PYENV_ROOT/versions`.**
|
||||||
For example, to install Python 2.7.6, download and unpack the source, then run:
|
For example, to install Python 2.7.6, download and unpack the source, then run:
|
||||||
|
|
||||||
$ pyenv install 2.7.6
|
$ pyenv install 2.7.6
|
||||||
|
|
||||||
**NOTE:** If you need to pass configure option to build, please use
|
**NOTE:** If you need to pass configure option to build, please use
|
||||||
```CONFIGURE_OPTS``` environment variable.
|
```CONFIGURE_OPTS``` environment variable.
|
||||||
|
|
||||||
**NOTE:** If you are having trouble installing a python version,
|
**NOTE:** If you are having trouble installing a python version,
|
||||||
please visit the wiki page about
|
please visit the wiki page about
|
||||||
[Common Build Problems](https://github.com/yyuu/pyenv/wiki/Common-build-problems)
|
[Common Build Problems](https://github.com/yyuu/pyenv/wiki/Common-build-problems)
|
||||||
|
|
||||||
6. **Rebuild the shim binaries.**
|
6. **Rebuild the shim binaries.**
|
||||||
You should do this any time you install a new Python binary.
|
You should do this any time you install a new Python binary.
|
||||||
(Examples: installing a new Python version, or installing a package that provides a binary.)
|
(Examples: installing a new Python version, or installing a package that provides a binary.)
|
||||||
|
|
||||||
$ pyenv rehash
|
$ pyenv rehash
|
||||||
|
@ -237,7 +237,7 @@ To upgrade to a specific release of pyenv, check out the corresponding tag:
|
||||||
|
|
||||||
### Homebrew on Mac OS X
|
### Homebrew on Mac OS X
|
||||||
|
|
||||||
You can also install pyenv using the [Homebrew](http://brew.sh)
|
You can also install pyenv using the [Homebrew](http://brew.sh)
|
||||||
package manager for Mac OS X.
|
package manager for Mac OS X.
|
||||||
|
|
||||||
$ brew update
|
$ brew update
|
||||||
|
@ -291,8 +291,8 @@ As time goes on, you will accumulate Python versions in your
|
||||||
To remove old Python versions, `pyenv uninstall` command to automate
|
To remove old Python versions, `pyenv uninstall` command to automate
|
||||||
the removal process.
|
the removal process.
|
||||||
|
|
||||||
Alternatively, simply `rm -rf` the directory of the version you want
|
Alternatively, simply `rm -rf` the directory of the version you want
|
||||||
to remove. You can find the directory of a particular Python version
|
to remove. You can find the directory of a particular Python version
|
||||||
with the `pyenv prefix` command, e.g. `pyenv prefix 2.6.8`.
|
with the `pyenv prefix` command, e.g. `pyenv prefix 2.6.8`.
|
||||||
|
|
||||||
|
|
||||||
|
@ -309,10 +309,10 @@ See [COMMANDS.md](COMMANDS.md).
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
The pyenv source code is [hosted on GitHub](https://github.com/yyuu/pyenv).
|
The pyenv source code is [hosted on GitHub](https://github.com/yyuu/pyenv).
|
||||||
It's clean, modular, and easy to understand--even if you're not a shell hacker.
|
It's clean, modular, and easy to understand--even if you're not a shell hacker.
|
||||||
|
|
||||||
Please feel free to submit Pull Requests and report bugs on the
|
Please feel free to submit Pull Requests and report bugs on the
|
||||||
[issue tracker](https://github.com/yyuu/pyenv/issues).
|
[issue tracker](https://github.com/yyuu/pyenv/issues).
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue