File: install.rst

package info (click to toggle)
cloud-sptheme 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,544 kB
  • ctags: 262
  • sloc: python: 760; makefile: 10
file content (58 lines) | stat: -rw-r--r-- 1,707 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.. index:: cloud; installation

=========================
Installation Instructions
=========================

Requirements
============
* Python >= 2.5 or Python 3
* `Sphinx <http://sphinx.pocoo.org/>`_ 1.1 or newer.

Installing
==========
* To install from pypi using pip::

   pip install cloud_sptheme

* To install from pypi using easy_install::

   easy_install cloud_sptheme

* To install from source using ``setup.py``::

    python setup.py build
    sudo python setup.py install

.. index:: readthedocs.org; installation on

ReadTheDocs
===========
To use this theme on `<http://readthedocs.org>`_:

1. If it doesn't already exist, add a pip ``requirments.txt`` file to your documentation (e.g. alongside ``conf.py``).
   It should contain a minimum of the following lines::

       sphinx
       cloud_sptheme

   ... as well as any other build requirements for your project's documentation.

2. When setting up your project on ReadTheDocs, enter the path to ``requirements.txt``
   in the *requirements file* field on the project configuration page.

3. ReadTheDocs will now automatically download the latest version of :mod:`!cloud_sptheme`
   when building your documentation.

Documentation
=============
The latest copy of this documentation should always be available at:
    `<http://packages.python.org/cloud_sptheme>`_

If you wish to generate your own copy of the documentation,
you will need to:

1. Install `Sphinx <http://sphinx.pocoo.org/>`_ (1.1 or better)
2. Download the :mod:`!cloud_sptheme` source.
3. From the source directory, run ``python setup.py build_sphinx -E``.
4. Once Sphinx is finished, point a web browser to the file :samp:`{SOURCE}/build/sphinx/html/index.html`.