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())
|
transform = ObjectProperty(matrix_identity())
|
||||||
'''Transformation matrix
|
'''Transformation matrix
|
||||||
|
|
||||||
:data:`transform` is a :class:`~kivy.properties.NumpyProperty`, default to
|
:data:`transform` is a :class:`~kivy.properties.ObjectProperty`, default to
|
||||||
the numpy identity matrix.
|
the identity matrix.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
transform_inv = ObjectProperty(matrix_identity())
|
transform_inv = ObjectProperty(matrix_identity())
|
||||||
'''Inverse of the transformation matrix
|
'''Inverse of the transformation matrix
|
||||||
|
|
||||||
:data:`transform_inv` is a :class:`~kivy.properties.NumpyProperty`, default
|
:data:`transform_inv` is a :class:`~kivy.properties.ObjectProperty`, default
|
||||||
to the numpy identity matrix.
|
to the identity matrix.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def _get_bbox(self):
|
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.core import setup
|
||||||
from distutils.extension import Extension
|
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)
|
# extract version (simulate doc generation, kivy will be not imported)
|
||||||
import kivy
|
import kivy
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue