Changeset 295
- Timestamp:
- 10/03/08 14:24:11 (2 months ago)
- Files:
-
- pyyaml/trunk/MANIFEST.in (modified) (1 diff)
- pyyaml/trunk/Makefile (modified) (2 diffs)
- pyyaml/trunk/README (modified) (1 diff)
- pyyaml/trunk/announcement.msg (modified) (1 diff)
- pyyaml/trunk/lib/yaml/__init__.py (modified) (1 diff)
- pyyaml/trunk/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pyyaml/trunk/MANIFEST.in
r290 r295 1 1 include README LICENSE setup.py 2 2 recursive-include examples *.py *.cfg *.yaml 3 recursive-include tests *.py4 recursive-include tests/data *3 #recursive-include tests *.py 4 #recursive-include tests/data * pyyaml/trunk/Makefile
r285 r295 18 18 ${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS} 19 19 20 install: build20 install: 21 21 ${PYTHON} setup.py install ${PARAMETERS} 22 22 23 installext: buildext23 installext: 24 24 ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} 25 25 … … 30 30 ${PYTHON} tests/test_build_ext.py ${TEST} 31 31 32 dist: buildext32 dist: 33 33 ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar 34 34 pyyaml/trunk/README
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) pyyaml/trunk/announcement.msg
r290 r295 15 15 ======= 16 16 17 * Fixed a dot '.' character being recognized as !!float. 18 * Fixed exceptions produced by LibYAML bindings. 17 * setup.py checks whether LibYAML is installed and if so, builds 18 and installs LibYAML bindings. To force or disable installation 19 of LibYAML bindings, use '--with-libyaml' or '--without-libyaml' 20 respectively. 21 * Building LibYAML bindings no longer requires Pyrex installed. 19 22 * 'yaml.load()' raises an exception if the input stream contains 20 23 more than one YAML document. 21 * Improved compatibility with Python 2.3. 22 * Use setuptools for setup.py. If you want to build optional LibYAML 23 bindings, run 'python setup.py --with-libyaml install'. Building 24 LibYAML bindings no longer requires PyRex installed. 24 * Fixed exceptions produced by LibYAML bindings. 25 * Fixed a dot '.' character being recognized as !!float. 26 * Fixed Python 2.3 compatibility issue in constructing !!timestamp values. 25 27 * Windows binary packages are built against the LibYAML stable branch. 26 * Added a n attribute 'yaml.__version__' and a flag 'yaml.__libyaml__'.28 * Added attributes 'yaml.__version__' and 'yaml.__with_libyaml__'. 27 29 28 30 pyyaml/trunk/lib/yaml/__init__.py
r282 r295 13 13 try: 14 14 from cyaml import * 15 __ libyaml__ = True15 __with_libyaml__ = True 16 16 except ImportError: 17 __ libyaml__ = False17 __with_libyaml__ = False 18 18 19 19 def scan(stream, Loader=Loader): pyyaml/trunk/setup.py
r294 r295 257 257 cmdclass={ 258 258 'build_ext': build_ext, 259 'test': test,259 # 'test': test, 260 260 }, 261 261 )
