| 1234567891011121314151617181920212223242526 | 
This directory contains Python bindings to allow you to access thelibmagic api. At the moment their status is "experimental" andthey are not built by default. You may need to edit include and librarysearch paths in setup.py so that python's distutils build process can find the magic header and lib files.In order to be able to compile magic-python you need to have pythonand the python-dev packages installed.Python libraries are always built for a particular version of Python(2.2, 2.3, etc), and libraries built for one version will not be seenby another.To build:$ python setup.py buildNow, you can install the modules:$ cp build/lib.*/magic.so /usr/lib/python2.3/lib-dynload/(the directory /usr/lib/python2.3 may vary, depending on your installation)magic-python should work now!
 |