mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 07:05:05 +08:00
Bump numpy requirement to 1.7.2
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
Build Requirements
|
||||
------------------
|
||||
* `Python >= 2.6 <http://python.org>`__
|
||||
* `Numpy >= 1.6.1 <http://numpy.scipy.org/>`__
|
||||
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
|
||||
* `Cython >= 0.21 <http://www.cython.org/>`__
|
||||
* `Six >=1.4 <https://pypi.python.org/pypi/six>`__
|
||||
* `SciPy >=0.9 <http://scipy.org>`__
|
||||
@@ -9,7 +9,7 @@ Build Requirements
|
||||
Runtime requirements
|
||||
--------------------
|
||||
* `Python >= 2.6 <http://python.org>`__
|
||||
* `Numpy >= 1.6.1 <http://numpy.scipy.org/>`__
|
||||
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
|
||||
* `SciPy >= 0.9 <http://scipy.org>`__
|
||||
* `Matplotlib >= 1.1.0 <http://matplotlib.sf.net>`__
|
||||
* `NetworkX >= 1.8 <https://networkx.github.io>`__
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
matplotlib>=1.1.0
|
||||
numpy>=1.6.1
|
||||
numpy>=1.7.2
|
||||
scipy>=0.9.0
|
||||
six>=1.4
|
||||
networkx>=1.8
|
||||
|
||||
@@ -25,9 +25,8 @@ _supported_types = (np.bool_, np.bool8,
|
||||
np.int8, np.int16, np.int32, np.int64,
|
||||
np.float32, np.float64)
|
||||
|
||||
if np.__version__ >= "1.6.0":
|
||||
dtype_range[np.float16] = (-1, 1)
|
||||
_supported_types += (np.float16, )
|
||||
dtype_range[np.float16] = (-1, 1)
|
||||
_supported_types += (np.float16, )
|
||||
|
||||
|
||||
def dtype_limits(image, clip_negative=True):
|
||||
|
||||
Reference in New Issue
Block a user