Pillow/Sane
Brian Crowell 9519013466 py3k: Modernize type declarations
This updates several Python type definitions and uses to bring us closer
to Python 3 compatibility. This includes:

* Replacing staticforward and statichere with static. These were a hack for
  old compilers and are not supported/needed anymore.
* Using Py_TYPE() instead of ob_type; ob_type is hidden in Py3.
* Replacing getattr with getters/setters. getattr is sort-of supported in
  Py3, but Py_FindMethod is not. So we just use the newer
  methods/getsetters mechanisms and start using PyType_Ready everywhere.
* Use PyVarObject_HEAD_INIT for types, since types are PyVarObject.
* Use PyMODINIT_FUNC for module initialization functions.

There are some tab/space issues in this commit. I'm set for spaces; the
source is a little schizo.
2013-01-10 08:46:34 -06:00
..
_sane.c py3k: Modernize type declarations 2013-01-10 08:46:34 -06:00
CHANGES Forking PIL 2010-07-30 22:52:47 -04:00
demo_numarray.py Forking PIL 2010-07-30 22:52:47 -04:00
demo_pil.py Forking PIL 2010-07-30 22:52:47 -04:00
README Forking PIL 2010-07-30 22:52:47 -04:00
sane.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
sanedoc.txt Forking PIL 2010-07-30 22:52:47 -04:00
setup.py Forking PIL 2010-07-30 22:52:47 -04:00

Python SANE module V1.1 (30 Sep. 2004)

The SANE module provides an interface to the SANE scanner and frame
grabber interface for Linux.  This module was contributed by Andrew
Kuchling and is extended and currently maintained by Ralph Heinkel 
(rheinkel-at-email.de). If you write to me please make sure to have the
word 'SANE' or 'sane' in the subject of your mail, otherwise it might
be classified as spam in the future.


To build this module, type (in the Sane directory): 

	python setup.py build

In order to install the module type:

	python setup.py install


For some basic documentation please look at the file sanedoc.txt
The two demo_*.py scripts give basic examples on how to use the software.