summaryrefslogtreecommitdiff
path: root/tools/list_numpy_dlls.sh
blob: fedd2097ba675d5f36434519bbf9edc3a2c92f24 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/dash
# Print the list of dlls installed by NumPy

py_ver=${1}
site_packages=`python${py_ver} -m pip show numpy | \
		    grep Location | cut -d " " -f 2 -`;
dll_list=`for name in $(python${py_ver} -m pip show -f numpy | \
			     grep -F .dll); do echo ${site_packages}/${name}; done`
echo ${dll_list}