diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/dist/dist.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 88ee42c..85bc688 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -845,7 +845,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 |