summaryrefslogtreecommitdiff
path: root/_doc/install.rst
blob: 86ff5086b423269934746717c9166841454b15b9 (plain)
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
Installing
==========

``ruamel.yaml`` should be installed from PyPI_ using::

    pip install ruamel.yaml

There also is a commandline utility ``yaml`` available after installing::

   pip install ruamel.yaml.cmd

that allows for round-trip testing/re-indenting and conversion of YAML
files (JSON,INI,HTML tables)

Optional requirements
---------------------

If you have the the header files for your Python executables installed
then you can use the (non-roundtrip), but faster, C loader and emitter.

On Debian systems you should use::

    sudo apt-get install python3-dev

you can leave out ``python3-dev`` if you don't use python3

For CentOS (7) based systems you should do::

   sudo yum install python-devel