diff options
author | gbrandl <devnull@localhost> | 2007-02-17 12:20:48 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-02-17 12:20:48 +0100 |
commit | 8f3405b6bd6f836e43aedc0df4fd65b32c8857e6 (patch) | |
tree | 58e9496e89ec2415f9417f65b0ccb3c3fa0c1134 | |
parent | 6e4f7d2fd6cf92bf3c1eb52f2b38057aaa89267c (diff) | |
download | pygments-8f3405b6bd6f836e43aedc0df4fd65b32c8857e6.tar.gz |
[svn] A bit moving around.
-rw-r--r-- | docs/src/installation.txt | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/docs/src/installation.txt b/docs/src/installation.txt index de3964f4..a7e408fb 100644 --- a/docs/src/installation.txt +++ b/docs/src/installation.txt @@ -5,32 +5,36 @@ Installation ============ Pygments requires at least Python 2.3 to work correctly. Just to clarify: -there *won't* ever be support for Python versions below 2.3. +there *won't* ever be support for Python versions below 2.3. However, there +are no other dependencies. -Install the release version -=========================== +Installing a released version +============================= -1. download the recent tarball from the `download page`_ -2. unpack the tarball -3. ``sudo python setup.py install`` +As a Python egg (via easy_install) +---------------------------------- -Note that the last command will automatically download and install -`setuptools`_ if you don't already have it installed. This requires a working -internet connection. +You can install the most recent Pygments version using `easy_install`_:: -This will install Pygments into your Python installation's site-packages directory. + sudo easy_install Pygments +This will install a Pygments egg in your Python installation's site-packages +directory. -Install via easy_install -======================== -You can also install the most recent Pygments version using `easy_install`_:: +From the tarball release +------------------------- - sudo easy_install Pygments +1. Download the most recent tarball from the `download page`_ +2. Unpack the tarball +3. ``sudo python setup.py install`` -This will install a Pygments egg in your Python installation's site-packages -directory. +Note that the last command will automatically download and install +`setuptools`_ if you don't already have it installed. This requires a working +internet connection. + +This will install Pygments into your Python installation's site-packages directory. Installing the development version @@ -56,7 +60,8 @@ If you just want the latest features and use them sudo easy_install Pygments==dev This will install a Pygments egg containing the latest Subversion trunk code -in your Python installation's site-packages directory. +in your Python installation's site-packages directory. Every time the command +is run, the sources are updated from Subversion. .. _download page: http://pygments.org/download/ |