Commits

Kirill Simonov  committed 118c789

Dropped setuptools-based setup.py in favor of custom distribution and build_ext command.

  • Participants
  • Parent commits 960441f

Comments (0)

Files changed (4)

-include ext/_yaml.pyx ext/_yaml.pxd ext/_yaml.h ext/_yaml.c
-exclude announcement.msg MANIFEST.in Makefile
+include README LICENSE setup.py
+recursive-include examples *.py *.cfg *.yaml
+recursive-include tests *.py
+recursive-include tests/data *

File announcement.msg

 * Fixed exceptions produced by LibYAML bindings.
 * 'yaml.load()' raises an exception if the input stream contains
   more than one YAML document.
+* Improved compatibility with Python 2.3.
 * Use setuptools for setup.py.  If you want to build optional LibYAML
   bindings, run 'python setup.py --with-libyaml install'.  Building
   LibYAML bindings no longer requires PyRex installed.

File examples/pygments-lexer/example.raw

-Token.Comment.Single	u'#'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Examples from the Preview section of the YAML specification'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# (http://yaml.org/spec/1.2/#Preview)'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'#'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Sequence of scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griffey'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Mapping scalars to scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u'  '
-Token.Literal.Scalar.Plain	u'65'
-Token.Text.Blank	u'    '
-Token.Comment.Single	u'# Home runs'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'avg'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0.278'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# Batting average'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'rbi'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'147'
-Token.Text.Blank	u'   '
-Token.Comment.Single	u'# Runs Batted In'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Mapping scalars to sequences'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'american'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Boston'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Red'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sox'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Detroit'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Tigers'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'New'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'York'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Yankees'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'national'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'New'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'York'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Mets'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Chicago'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Cubs'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Atlanta'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Braves'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Sequence of mappings'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'name'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u'   '
-Token.Literal.Scalar.Plain	u'65'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'avg'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u'  '
-Token.Literal.Scalar.Plain	u'0.278'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'name'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u'   '
-Token.Literal.Scalar.Plain	u'63'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'avg'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u'  '
-Token.Literal.Scalar.Plain	u'0.288'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Sequence of sequences'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'['
-Token.Literal.Scalar.Plain	u'name'
-Token.Text.Blank	u'        '
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'avg'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u']'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'['
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'65'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0.278'
-Token.Punctuation.Indicator	u']'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'['
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'63'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0.288'
-Token.Punctuation.Indicator	u']'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Mapping of mappings'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'{'
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'65'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'avg'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0.278'
-Token.Punctuation.Indicator	u'}'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'{'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'    '
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'63'
-Token.Punctuation.Indicator	u','
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'    '
-Token.Literal.Scalar.Plain	u'avg'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0.288'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u'}'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Two documents in a stream'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# Ranking of 1998 home runs'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griffey'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# Team ranking'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Chicago'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Cubs'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'St'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Louis'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Cardinals'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Documents with the end indicator'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'time'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'20:03:20'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'player'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'action'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'strike'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'(miss)'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'...'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'time'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'20:03:47'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'player'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'action'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'grand'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'slam'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'...'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Comments'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# 1998 hr ranking'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'rbi'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Comment.Single	u'# 1998 rbi ranking'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griffey'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Anchors and aliases'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'hr'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Comment.Single	u'# Following node labeled SS'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Name.Anchor	u'&SS'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'rbi'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Name.Alias	u'*SS'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# Subsequent occurrence'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griffey'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Mapping between sequences'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'?'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Detroit'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Tigers'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Chicago'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'cubs'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'2001-07-23'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'?'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'['
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'New'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'York'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Yankees'
-Token.Punctuation.Indicator	u','
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'    '
-Token.Literal.Scalar.Plain	u'Atlanta'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Braves'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u']'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u':'
-Token.Text.Indent	u' '
-Token.Punctuation.Indicator	u'['
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-07-02'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-08-12'
-Token.Punctuation.Indicator	u','
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'    '
-Token.Literal.Scalar.Plain	u'2001-08-14'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u']'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Inline nested mapping'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# products purchased'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'item'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Super'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Hoop'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'quantity'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'1'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'item'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Basketball'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'quantity'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'4'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'item'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Big'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Shoes'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'quantity'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'1'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Literal scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Blank	u' '
-Token.Comment.Single	u'# ASCII art'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'\\//||\\/||'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'// ||  ||__'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Folded scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'>'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u"Mark McGwire's"
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'year was crippled'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'by a knee injury.'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Preserved indented block in a folded scalar'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'>'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'Sammy Sosa completed another'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'fine season with great stats.'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'   '
-Token.Literal.Scalar.Block	u'63 Home Runs'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'   '
-Token.Literal.Scalar.Block	u'0.288 Batting Average'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'What a year!'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Indentation determines scope'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'name'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'accomplishment'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'>'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'Mark set a major league'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'home run record in 1998.'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'stats'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'65 Home Runs'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Block	u'0.278 Batting Average'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Quoted scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'unicode'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Literal.Scalar.Flow	u'Sosa'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'did'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'fine.'
-Token.Literal.Scalar.Flow.Escape	u'\\u263A'
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'control'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Literal.Scalar.Flow.Escape	u'\\b'
-Token.Literal.Scalar.Flow	u'1998'
-Token.Literal.Scalar.Flow.Escape	u'\\t'
-Token.Literal.Scalar.Flow	u'1999'
-Token.Literal.Scalar.Flow.Escape	u'\\t'
-Token.Literal.Scalar.Flow	u'2000'
-Token.Literal.Scalar.Flow.Escape	u'\\n'
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'hex'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'esc'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Literal.Scalar.Flow.Escape	u'\\x0d'
-Token.Literal.Scalar.Flow.Escape	u'\\x0a'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'is'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow.Escape	u'\\r'
-Token.Literal.Scalar.Flow.Escape	u'\\n'
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'single'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Literal.Scalar.Flow	u'"Howdy!"'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'he'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'cried.'
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'quoted'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'#'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'not'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'a'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow.Escape	u"''"
-Token.Literal.Scalar.Flow	u'comment'
-Token.Literal.Scalar.Flow.Escape	u"''"
-Token.Literal.Scalar.Flow	u'.'
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'tie-fighter'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Literal.Scalar.Flow	u'|\\-*-/|'
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Multi-line flow scalars'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'plain'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'This'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'unquoted'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'scalar'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'spans'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'many'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'lines.'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'quoted'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Literal.Scalar.Flow	u'So'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'does'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'this'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Literal.Scalar.Flow	u'quoted'
-Token.Literal.Scalar.Flow	u' '
-Token.Literal.Scalar.Flow	u'scalar.'
-Token.Literal.Scalar.Flow.Escape	u'\\n'
-Token.Literal.Scalar.Flow.Quote	u'"'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Integers'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'canonical'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'12345'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'decimal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'+12_345'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'sexagesimal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'3:25:45'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'octal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'014'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'hexadecimal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0xC'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Floating point'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'canonical'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'1.23015e+3'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'exponential'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'12.3015e+02'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'sexagesimal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'20:30.15'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'fixed'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'1_230.15'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'negative'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'infinity'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'-.inf'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'not'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'a'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'number'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'.NaN'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Miscellaneous'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'null'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'~'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'true'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'boolean'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'false'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'boolean'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'string'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Literal.Scalar.Flow	u'12345'
-Token.Literal.Scalar.Flow.Quote	u"'"
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Timestamps'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'canonical'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-12-15T02:59:43.1Z'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'iso8601'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-12-14t21:59:43.10-05:00'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'spaced'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-12-14'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'21:59:43.10'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'-5'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'date'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2002-12-14'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Various explicit tags'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'not-date'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!!str'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2002-04-28'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'picture'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!!binary'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'R0lGODlhDAAMAIQAAP//9/X'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'17unp5WZmZgAAAOfn515eXv'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'Pz7Y6OjuDg4J+fn5OTk6enp'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'56enmleECcgggoBADs='
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'application'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'specific'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'tag'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!something'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'The semantics of the tag'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'above may be different for'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Block	u'different documents.'
-Token.Text.Break	u'\n'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# Global tags'
-Token.Text.Break	u'\n'
-Token.Name.Directive	u'%TAG'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!'
-Token.Text.Blank	u' '
-Token.Name.Type	u'tag:clarkevans.com,2002:'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!shape'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Comment.Single	u'# Use the ! handle for presenting'
-Token.Text.Break	u'\n'
-Token.Text.Blank	u'  '
-Token.Comment.Single	u'# tag:clarkevans.com,2002:circle'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Name.Type	u'!circle'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'center'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Anchor	u'&ORIGIN'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'{'
-Token.Literal.Scalar.Plain	u'x'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'73'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'y'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'129'
-Token.Punctuation.Indicator	u'}'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'radius'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'7'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Name.Type	u'!line'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'start'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Alias	u'*ORIGIN'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'finish'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'{'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'x'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'89'
-Token.Punctuation.Indicator	u','
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'y'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'102'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'}'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Name.Type	u'!label'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'start'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Alias	u'*ORIGIN'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'color'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'0xFFEEBB'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'text'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Pretty'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'vector'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'drawing.'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Unordered sets'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!!set'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# sets are represented as a'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# mapping where each key is'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# associated with the empty string'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'?'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'?'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'?'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griff'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Ordered mappings'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!!omap'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# ordered maps are represented as'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# a sequence of mappings, with'
-Token.Text.Break	u'\n'
-Token.Comment.Single	u'# each mapping having one key'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Mark'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'McGwire'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'65'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Sammy'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Sosa'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'63'
-Token.Text.Break	u'\n'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'Ken'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Griffy'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'58'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Full length example'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Blank	u' '
-Token.Name.Type	u'!<tag:clarkevans.com,2002:invoice>'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'invoice'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'34843'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'date'
-Token.Text.Blank	u'   '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-01-23'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'bill-to'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Anchor	u'&id001'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'given'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Chris'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'family'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Dumars'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'address'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'        '
-Token.Literal.Scalar.Plain	u'lines'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'            '
-Token.Literal.Scalar.Block	u'458 Walkman Dr.'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'            '
-Token.Literal.Scalar.Block	u'Suite #292'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'        '
-Token.Literal.Scalar.Plain	u'city'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Royal'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Oak'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'        '
-Token.Literal.Scalar.Plain	u'state'
-Token.Text.Blank	u'   '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'MI'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'        '
-Token.Literal.Scalar.Plain	u'postal'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'48046'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'ship-to'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Name.Alias	u'*id001'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'product'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'sku'
-Token.Text.Blank	u'         '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'BL394D'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'quantity'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'4'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'description'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Basketball'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'price'
-Token.Text.Blank	u'       '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'450.00'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'sku'
-Token.Text.Blank	u'         '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'BL4438H'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'quantity'
-Token.Text.Blank	u'    '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'1'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'description'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'Super'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Hoop'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Plain	u'price'
-Token.Text.Blank	u'       '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2392.00'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'tax'
-Token.Text.Blank	u'  '
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'251.42'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'total'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'4443.52'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'comments'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'Late'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'afternoon'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'is'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'best.'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'Backup'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'contact'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'is'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'Nancy'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'Billsmer'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'@'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'338-4338.'
-Token.Text.Break	u'\n\n'
-Token.Comment.Single	u'# Another full-length example'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Time'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-11-23'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'15:01:42'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'-5'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'User'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'ed'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Warning'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'This'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'is'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'an'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'error'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'message'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'for'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'the'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'log'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'file'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Time'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-11-23'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'15:02:31'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'-5'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'User'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'ed'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Warning'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'A'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'slightly'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'different'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'error'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'message.'
-Token.Text.Break	u'\n'
-Token.Punctuation.Document	u'---'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Date'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'2001-11-23'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'15:03:17'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'-5'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'User'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'ed'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Fatal'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Literal.Scalar.Plain	u'Unknown'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'variable'
-Token.Literal.Scalar.Plain	u' '
-Token.Literal.Scalar.Plain	u'"bar"'
-Token.Text.Break	u'\n'
-Token.Literal.Scalar.Plain	u'Stack'
-Token.Punctuation.Indicator	u':'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'file'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'TopClass.py'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'line'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'23'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'code'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Block	u'x = MoreObject("345\\n")'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'  '
-Token.Punctuation.Indicator	u'-'
-Token.Text.Indent	u' '
-Token.Literal.Scalar.Plain	u'file'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'MoreClass.py'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'line'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Literal.Scalar.Plain	u'58'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'    '
-Token.Literal.Scalar.Plain	u'code'
-Token.Punctuation.Indicator	u':'
-Token.Text.Blank	u' '
-Token.Punctuation.Indicator	u'|'
-Token.Punctuation.Indicator	u'-'
-Token.Text.Break	u'\n'
-Token.Text.Indent	u'      '
-Token.Literal.Scalar.Block	u'foo = bar'
-Token.Text.Break	u'\n'
     "Topic :: Text Processing :: Markup",
 ]
 
-from ez_setup import use_setuptools
-use_setuptools(version='0.6c5')
 
-from setuptools import setup, Extension, Feature
+from distutils.core import setup, Command
+from distutils.core import Distribution as _Distribution
+from distutils.core import Extension as _Extension
+from distutils.command.build_ext import build_ext as _build_ext
+
+try:
+    from Pyrex.Distutils import Extension as _Extension
+    from Pyrex.Distutils import build_ext as _build_ext
+    with_pyrex = True
+except ImportError:
+    with_pyrex = False
+
+import sys, os.path
+
+
+class Distribution(_Distribution):
+
+    def __init__(self, attrs=None):
+        _Distribution.__init__(self, attrs)
+        if not self.ext_modules:
+            return
+        for ext in reversed(self.ext_modules):
+            if not isinstance(ext, Extension):
+                continue
+            setattr(self, ext.attr_name, None)
+            self.global_options = [
+                    (ext.option_name, None,
+                        "include %s" % ext.feature_description),
+                    (ext.neg_option_name, None,
+                        "exclude %s (default)" % ext.feature_description),
+            ] + self.global_options
+            self.negative_opt = self.negative_opt.copy()
+            self.negative_opt[ext.neg_option_name] = ext.option_name
+
+
+class Extension(_Extension):
+
+    def __init__(self, name, sources, feature_name, feature_description, **kwds):
+        if not with_pyrex:
+            for filename in sources[:]:
+                base, ext = os.path.splitext(filename)
+                if ext == 'pyx':
+                    sources.replace(filename, '%s.c' % base)
+        _Extension.__init__(self, name, sources, **kwds)
+        self.feature_name = feature_name
+        self.feature_description = feature_description
+        self.attr_name = 'with_' + feature_name.replace('-', '_')
+        self.option_name = 'with-' + feature_name
+        self.neg_option_name = 'without-' + feature_name
+
+
+class build_ext(_build_ext):
+
+    def get_source_files(self):
+        self.check_extensions_list(self.extensions)
+        filenames = []
+        for ext in self.extensions:
+            if with_pyrex:
+                self.pyrex_sources(ext.sources, ext)
+            for filename in ext.sources:
+                filenames.append(filename)
+                base = os.path.splitext(filename)[0]
+                for ext in ['c', 'h', 'pyx', 'pxd']:
+                    filename = '%s.%s' % (base, ext)
+                    if filename not in filenames and os.path.isfile(filename):
+                        filenames.append(filename)
+        return filenames
+
+    def build_extensions(self):
+        self.check_extensions_list(self.extensions)
+        for ext in self.extensions:
+            if isinstance(ext, Extension):
+                if not getattr(self.distribution, ext.attr_name):
+                    continue
+            if with_pyrex:
+                ext.sources = self.pyrex_sources(ext.sources, ext)
+            self.build_extension(ext)
+
+
+class test(Command):
+
+    user_options = []
+
+    def initialize_options(self):
+        pass
+
+    def finalize_options(self):
+        pass
+
+    def run(self):
+        build_cmd = self.get_finalized_command('build')
+        build_cmd.run()
+        sys.path.insert(0, build_cmd.build_lib)
+        sys.path.insert(0, 'tests')
+        import test_all
+        test_all.main()
+
 
 if __name__ == '__main__':
 
 
         package_dir={'': 'lib'},
         packages=['yaml'],
+        ext_modules=[
+            Extension('yaml/_yaml', ['ext/_yaml.pyx'],
+                'libyaml', "LibYAML bindings",
+                libraries=['yaml']),
+        ],
 
-        features = {
-            'libyaml': Feature(
-                description="LibYAML bindings",
-                ext_modules=[
-                    Extension('_yaml', ['ext/_yaml.pyx'], libraries=['yaml']),
-                ],
-            ),
+        distclass=Distribution,
+        cmdclass={
+            'build_ext': build_ext,
+            'test': test,
         },
     )