Skip to content

Commit 6a7920f

Browse files
committed
This checks the setuptools version
Issue related with tensorflow/tensorflow/issues/34302 also readthedocs/readthedocs.org/issues/7241
1 parent 37322dd commit 6a7920f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

+4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ def getRequirements():
4141
A list of strings containing the pip pkgs.
4242
"""
4343
pipVersion = pkg_resources.require("pip")[0].version
44+
setuptoolsVersion = pkg_resources.require("setuptools")[0].version
45+
4446
print("\n PIP Version", pipVersion, "\n")
47+
print("\n Setuptools Version", setuptoolsVersion, "\n")
48+
4549
olderPip = pipVersion < "20.0"
4650

4751
cudaLibsOk = checkCUDAisAvailable()

0 commit comments

Comments
 (0)