mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
parent
8294de5673
commit
076b7325a8
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…
Reference in New Issue
Block a user