Skip to content

Commit

Permalink
Added Python's OpenSSL version to 'make platform'
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Oct 7, 2020
1 parent ff0520f commit 811f823
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ python_mn_version := $(shell $(PYTHON_CMD) tools/python_version.py 2)
python_m_version := $(shell $(PYTHON_CMD) tools/python_version.py 1)
pymn := py$(python_mn_version)

# OpenSSL version used by Python's ssl
openssl_version := $(shell $(PYTHON_CMD) -c "import ssl; print(ssl.OPENSSL_VERSION)")

# Directory for the generated distribution files
dist_dir := dist

Expand Down Expand Up @@ -376,6 +379,7 @@ platform:
@echo "Python version: $(python_version)"
@$(PYTHON_CMD) tools/python_bitsize.py
@$(PYTHON_CMD) tools/python_unicodesize.py
@echo "OpenSSL version used by Python ssl: $(openssl_version)"
@echo "Pip command name: $(PIP_CMD)"
@echo "Pip command location: $(shell $(WHICH) $(PIP_CMD))"
@echo "Pip command version: $(shell $(PIP_CMD) --version)"
Expand Down

0 comments on commit 811f823

Please sign in to comment.