r279 r295 3 3 To install, type 'python setup.py install'. 4 4 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: 8 14 9 15 >>> yaml.load(stream, Loader=yaml.CLoader)
Note: See TracChangeset for help on using the changeset viewer.