Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5f32cded
Commit
5f32cded
authored
Apr 25, 2009
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install idle and pydoc with a 3 suffix #5756
parent
361a1c52
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
Misc/NEWS
Misc/NEWS
+5
-0
Tools/scripts/idle3
Tools/scripts/idle3
+1
-1
Tools/scripts/pydoc3
Tools/scripts/pydoc3
+1
-1
setup.py
setup.py
+1
-7
No files found.
Misc/NEWS
View file @
5f32cded
...
...
@@ -76,6 +76,11 @@ Core and Builtins
- Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
to avoid compiler warnings.
Installation
------------
- Issue #5756: Install idle and pydoc with a 3 suffix.
Library
-------
...
...
Tools/scripts/idle
→
Tools/scripts/idle
3
View file @
5f32cded
#! /usr/bin/env python
#! /usr/bin/env python
3
from
idlelib.PyShell
import
main
if
__name__
==
'__main__'
:
...
...
Tools/scripts/pydoc
→
Tools/scripts/pydoc
3
View file @
5f32cded
#!/usr/bin/env python
#!/usr/bin/env python
3
import
pydoc
if
__name__
==
'__main__'
:
...
...
setup.py
View file @
5f32cded
...
...
@@ -1652,13 +1652,7 @@ def main():
# called unless there's at least one extension module defined.
ext_modules
=
[
Extension
(
'_struct'
,
[
'_struct.c'
])],
# Scripts to install
# Commented out because we don't want them to override the 2.x
# ones. See #1590.
scripts
=
[]
#scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
# 'Tools/scripts/2to3',
# 'Lib/smtpd.py']
scripts
=
[
"Tools/scripts/pydoc3"
,
"Tools/scripts/idle3"
]
)
# --install-platlib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment