| 5 | | To build and install PyYAML with LibYAML bindings, type |
| 6 | | 'python setup.py --with-libyaml install'. |
| 7 | | Then you may use a fast LibYAML-based parser and emitter as follows: |
| | 5 | By default, the setup.py script checks whether LibYAML is installed |
| | 6 | and if so, builds and installs LibYAML bindings. To skip the check |
| | 7 | and force installation of LibYAML bindings, add the option '--with-libyaml': |
| | 8 | 'python setup.py --with-libyaml install'. To disable the check and |
| | 9 | skip building and installing LibYAML bindings, use '--without-libyaml': |
| | 10 | 'python setup.py --without-libyaml install'. |
| | 11 | |
| | 12 | When LibYAML bindings are installed, you may use a fast LibYAML-based |
| | 13 | parser and emitter as follows: |