From 62f793465f7652bd3a5075c10f345339791eee16 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 6 Jan 2011 12:34:10 +0100 Subject: [PATCH] remove numpy from setup.py and scatter doc --- kivy/uix/scatter.py | 8 ++++---- setup.py | 12 ------------ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/kivy/uix/scatter.py b/kivy/uix/scatter.py index 833d16378..a2688f205 100644 --- a/kivy/uix/scatter.py +++ b/kivy/uix/scatter.py @@ -84,15 +84,15 @@ class Scatter(Widget): transform = ObjectProperty(matrix_identity()) '''Transformation matrix - :data:`transform` is a :class:`~kivy.properties.NumpyProperty`, default to - the numpy identity matrix. + :data:`transform` is a :class:`~kivy.properties.ObjectProperty`, default to + the identity matrix. ''' transform_inv = ObjectProperty(matrix_identity()) '''Inverse of the transformation matrix - :data:`transform_inv` is a :class:`~kivy.properties.NumpyProperty`, default - to the numpy identity matrix. + :data:`transform_inv` is a :class:`~kivy.properties.ObjectProperty`, default + to the identity matrix. ''' def _get_bbox(self): diff --git a/setup.py b/setup.py index 127a22cd9..5244ad8e5 100644 --- a/setup.py +++ b/setup.py @@ -6,18 +6,6 @@ from glob import glob from distutils.core import setup from distutils.extension import Extension -#check for numpy, which is absolutely required! -try: - import numpy -except: - print '#' * 80 - print 'Kivy require numpy now. Please install it before running Kivy setup' - print '#' * 80 - sys.exit(1) - - - - # extract version (simulate doc generation, kivy will be not imported) import kivy