diff options
author | Thomas Grainger <tagrain@gmail.com> | 2021-07-22 20:17:21 +0100 |
---|---|---|
committer | Thomas Grainger <tagrain@gmail.com> | 2021-07-22 20:17:21 +0100 |
commit | 58799d344902ca419cba3b4cffd46b8edeb7d3fe (patch) | |
tree | d98b89ed46ebc20c694be55a06af06aac5c1f447 /docs | |
parent | f66eddfe11faf3efba8b63f2e74759903dae9355 (diff) | |
download | python-setuptools-git-58799d344902ca419cba3b4cffd46b8edeb7d3fe.tar.gz |
remove 2to3
Diffstat (limited to 'docs')
-rw-r--r-- | docs/distutils/apiref.rst | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/distutils/apiref.rst b/docs/distutils/apiref.rst index b14197c2..372755a8 100644 --- a/docs/distutils/apiref.rst +++ b/docs/distutils/apiref.rst @@ -1940,24 +1940,6 @@ Subclasses of :class:`Command` must define the following methods. .. class:: build_py -.. class:: build_py_2to3 - - Alternative implementation of build_py which also runs the - 2to3 conversion library on each .py file that is going to be - installed. To use this in a setup.py file for a distribution - that is designed to run with both Python 2.x and 3.x, add:: - - try: - from distutils.command.build_py import build_py_2to3 as build_py - except ImportError: - from distutils.command.build_py import build_py - - to your setup.py, and later:: - - cmdclass = {'build_py': build_py} - - to the invocation of setup(). - :mod:`distutils.command.build_scripts` --- Build the scripts of a package ========================================================================= |