diff --git a/tools/build_versions.py b/tools/build_versions.py index f598866e..af1faac2 100755 --- a/tools/build_versions.py +++ b/tools/build_versions.py @@ -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)