From 1bb8991a60d3f9f117aecdada4671921f12fa5a5 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 5 Apr 2014 18:46:05 -0700 Subject: [PATCH] windows guide: simplify pip installation The get-pip.py script is immensely convenient and will get setuptools for you if you don't have it already. --- docs/guides/main.rst | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/guides/main.rst b/docs/guides/main.rst index 117be57d9..6e4955437 100644 --- a/docs/guides/main.rst +++ b/docs/guides/main.rst @@ -68,22 +68,19 @@ get it right: 1. If you don't have it, `install Python`_ (you want Python 2.7). -2. Install `Setuptools`_ from PyPI. To do this, scroll to the bottom of that - page and download the Windows installer (``.exe``, not ``.egg``) for your - Python version (for example: ``setuptools-0.6c11.win32-py2.7.exe``). - -3. If you haven't done so already, set your ``PATH`` environment variable to +2. If you haven't done so already, set your ``PATH`` environment variable to include Python and its scripts. To do so, you have to get the "Properties" window for "My Computer", then choose the "Advanced" tab, then hit the "Environment Variables" button, and then look for the ``PATH`` variable in the table. Add the following to the end of the variable's value: ``;C:\Python27;C:\Python27\Scripts``. -4. Open a command prompt and install pip by running: ``easy_install pip`` +3. Next, `install pip`_ (if you don't have it already) by downloading and + running the `get-pip.py`_ script. -5. Now install beets by running: ``pip install beets`` +4. Now install beets by running: ``pip install beets`` -6. You're all set! Type ``beet`` at the command prompt to make sure everything's +5. You're all set! Type ``beet`` at the command prompt to make sure everything's in order. Windows users may also want to install a context menu item for importing files @@ -97,8 +94,9 @@ trouble or you have more detail to contribute here, please direct it to `the mailing list`_. .. _install Python: http://python.org/download/ -.. _Setuptools: http://pypi.python.org/pypi/setuptools .. _beets.reg: https://github.com/sampsyo/beets/blob/master/extra/beets.reg +.. _install pip: http://www.pip-installer.org/en/latest/installing.html#install-pip +.. _get-pip.py: https://raw.github.com/pypa/pip/master/contrib/get-pip.py Configuring