[cairo-commit] pycairo ChangeLog, 1.257, 1.258 README, 1.30,
1.31 NOTES, 1.24, 1.25 configure.ac, 1.61, 1.62
Steve Chaplin
commit at pdx.freedesktop.org
Tue Jan 16 21:40:06 PST 2007
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory kemper:/tmp/cvs-serv20698
Modified Files:
ChangeLog README NOTES configure.ac
Log Message:
'SC'
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -d -r1.257 -r1.258
--- ChangeLog 16 Jan 2007 14:59:33 -0000 1.257
+++ ChangeLog 17 Jan 2007 05:40:01 -0000 1.258
@@ -1,3 +1,15 @@
+2007-01-17 Steve Chaplin <steve1097 # yahoo.com.au>
+
+ * README:
+ * NOTES:
+ * configure.ac:
+ * cairo/pycairo-surface.c:
+ Remove Numeric Python support, since Numeric has been made obsolete by
+ numpy, and numpy data can be read using ImageSurface.create_for_data.
+
+ * test/isurface_create_for_array.py: delete file
+ * test/Makefile.am (EXTRA_DIST): remove isurface_create_for_array.py
+
2007-01-16 Steve Chaplin <steve1097 # yahoo.com.au>
* cairo/cairomodule.c:
Index: README
===================================================================
RCS file: /cvs/cairo/pycairo/README,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- README 21 Dec 2006 11:35:35 -0000 1.30
+++ README 17 Jan 2007 05:40:01 -0000 1.31
@@ -6,9 +6,6 @@
cairo >= 1.2.6
Python >= 2.3
-Not required, but supported if they are detected:
- Numeric Python any version (?)
-
Compiling
---------
See the INSTALL document for build instructions.
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- NOTES 21 Dec 2006 11:35:35 -0000 1.24
+++ NOTES 17 Jan 2007 05:40:01 -0000 1.25
@@ -159,10 +159,6 @@
surface = cairo.ImageSurface.create_for_data (data, format, w, h, stride)
where 'data' if a writable Python buffer object
- extra pycairo ImageSurface creation methods:
- surface = cairo.ImageSurface.create_for_array (array)
- where 'array' is a Numerical Python array
-
C: surface = cairo_pdf_surface_create (filename, width_in_points,
height_in_points);
surface = cairo_ps_surface_create (filename, width_in_points,
Index: configure.ac
===================================================================
RCS file: /cvs/cairo/pycairo/configure.ac,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- configure.ac 27 Dec 2006 10:32:20 -0000 1.61
+++ configure.ac 17 Jan 2007 05:40:01 -0000 1.62
@@ -50,17 +50,6 @@
# Checks for header files ---
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
-# Numeric Python
-save_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
-AC_CHECK_HEADER([Numeric/arrayobject.h],
- [have_numpy=yes], [have_numpy=no],
- [#include <Python.h>])
-CPPFLAGS="$save_CPPFLAGS"
-if test x$have_numpy = xyes; then
- AC_DEFINE(HAVE_NUMPY, [1], [Define to 1 if Numeric python is found])
-fi
-
# checks for types and compilers ---
AC_C_CONST
@@ -117,7 +106,4 @@
echo "
Configuration:
Installation prefix ${prefix}
-
-Additional modules:
- build Numeric support? ${have_numpy}
"
More information about the cairo-commit
mailing list