remove numpy from setup.py and scatter doc

This commit is contained in:
Mathieu Virbel 2011-01-06 12:34:10 +01:00
parent 4cc7b56122
commit 62f793465f
2 changed files with 4 additions and 16 deletions

View File

@ -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):

View File

@ -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