File: README

package info (click to toggle)
liblouisxml 2.4.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,788 kB
  • sloc: sh: 10,349; ansic: 10,002; makefile: 592; xml: 228; python: 43
file content (82 lines) | stat: -rw-r--r-- 2,893 bytes parent folder | download | duplicates (8)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
========
LouisXML
========

Introduction
============

Welcome to louisxml, a set of python bindings for liblouisxml. These bindings
intend to provide you with complete access of the liblouisxml API from python.
The bindings try and follow the liblouisxml API as closely as possible only
making alterations where it makes it simpler in python.

License
=======

LouisXML is copyright (C) 2009 Michael Whapples and is made available under
the artistic 2.0 license. The full text of the license can be found in the
file LICENSE.

Installation
============

You have a few options for installing LouisXML, installing a precompiled
version or compiling from source.

-------------------------------------
Installing precompiled binary package
-------------------------------------

Prerequesites
-------------

To install you will need a version of `python <http://www.python.org>`_.
Should you be using python 2.5 or below then you will need to also install
`PyICU <http://pyicu.osafoundation.org>`_. If you use python 2.6 or above then
you will not need PyICU, python alone will be enough.

Retrieving and installing LouisXML
----------------------------------

For any official precompiled binary releases of LouisXML you should look on
the `python package index <http://pypi.python.org/pypi/louisxml>`_.
Select the binary package for your system if one exists and install it as you
would install any python binary package of that sort. For windows this
should be as simple as running the file you download and following the on-screen instructions.

If you use Linux or another unix system then you should also check your
distribution's package system.

----------------------
Installing from source
----------------------

Prerequesites
-------------

LouisXML is written using cython, but to save you the hastle of installing
the C code has been provided. You will only need `cython 
<http://www.cython.org>`_ if you intend to modify the original source.

Also you will need `python <http://www.python.org>`_ and if using python
2.5 or earlier you will also need `PyICU <http://pyicu.osafoundation.org>`_.
Please remember that some systems such as Debian linux package header
files in a separate package so you will also need the python development
package in those cases.

Retrieving source and installing
--------------------------------

Retrieve the source package from the `python package index 
<http://pypi.python.org/pypi/louisxml>`_. Decompress the archive and change
to the directory created and run the command ``python setup.py install``.
If you do decide to alter the source code, we have also provided the file
setup_cython.py which will also run cython (NOTE: make sure you have cython
installed if running this file).

Providing feedback
==================

Feedback would be welcome on these bindings, so if you have any then
please report it to mwhapples@users.berlios.de.