mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
parent
8294de5673
commit
076b7325a8
1 changed files with 2 additions and 1 deletions
3
Doc/dist/dist.tex
vendored
3
Doc/dist/dist.tex
vendored
|
@ -921,7 +921,8 @@ before the \function{setup()} call.
|
|||
\begin{verbatim}
|
||||
# patch distutils if it can't cope with the "classifiers" or
|
||||
# "download_url" keywords
|
||||
if sys.version < '2.2.3':
|
||||
from sys import version
|
||||
if version < '2.2.3':
|
||||
from distutils.dist import DistributionMetadata
|
||||
DistributionMetadata.classifiers = None
|
||||
DistributionMetadata.download_url = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue