mirror of https://github.com/kivy/kivy.git
remove numpy from setup.py and scatter doc
This commit is contained in:
parent
4cc7b56122
commit
62f793465f
|
@ -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):
|
||||
|
|
12
setup.py
12
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue