mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.
This commit is contained in:
parent
a9725f86a9
commit
885bdc4946
24 changed files with 56 additions and 52 deletions
2
setup.py
2
setup.py
|
@ -2226,7 +2226,7 @@ def main():
|
|||
setup(# PyPI Metadata (PEP 301)
|
||||
name = "Python",
|
||||
version = sys.version.split()[0],
|
||||
url = "http://www.python.org/%s" % sys.version[:3],
|
||||
url = "http://www.python.org/%d.%d" % sys.version_info[:2],
|
||||
maintainer = "Guido van Rossum and the Python community",
|
||||
maintainer_email = "python-dev@python.org",
|
||||
description = "A high-level object-oriented programming language",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue