Skip to content

Commit 0b4915e

Browse files
committedApr 25, 2009
install idle and pydoc with a 3 suffix python#5756
1 parent f4841e2 commit 0b4915e

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed
 

‎Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ Core and Builtins
7676
- Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
7777
to avoid compiler warnings.
7878

79+
Installation
80+
------------
81+
82+
- Issue #5756: Install idle and pydoc with a 3 suffix.
83+
7984
Library
8085
-------
8186

‎Tools/scripts/idle renamed to ‎Tools/scripts/idle3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python
1+
#! /usr/bin/env python3
22

33
from idlelib.PyShell import main
44
if __name__ == '__main__':

‎Tools/scripts/pydoc renamed to ‎Tools/scripts/pydoc3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import pydoc
44
if __name__ == '__main__':

‎setup.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,13 +1652,7 @@ def main():
16521652
# called unless there's at least one extension module defined.
16531653
ext_modules=[Extension('_struct', ['_struct.c'])],
16541654

1655-
# Scripts to install
1656-
# Commented out because we don't want them to override the 2.x
1657-
# ones. See #1590.
1658-
scripts = []
1659-
#scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
1660-
# 'Tools/scripts/2to3',
1661-
# 'Lib/smtpd.py']
1655+
scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3"]
16621656
)
16631657

16641658
# --install-platlib

0 commit comments

Comments
 (0)