mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-20 12:40:31 +08:00
Add the rest of the packages to the build_versions script
This commit is contained in:
+10
-3
@@ -6,7 +6,14 @@ import numpy as np
|
||||
import scipy as sp
|
||||
import matplotlib as mpl
|
||||
import six
|
||||
from PIL import Image
|
||||
import Cython
|
||||
import networkx
|
||||
|
||||
for m in (np, sp, mpl, six):
|
||||
if not m is None:
|
||||
print(m.__name__.rjust(10), ' ', m.__version__)
|
||||
|
||||
for m in (np, sp, mpl, six, Image, networkx, Cython):
|
||||
if m is Image:
|
||||
version = m.VERSION
|
||||
else:
|
||||
version = m.__version__
|
||||
print(m.__name__.rjust(10), ' ', version)
|
||||
|
||||
Reference in New Issue
Block a user