@@ -5,55 +5,85 @@ IDLEfork requires Python Version 2.2 or later.
5
5
6
6
There are several distribution files (where xx is the subversion):
7
7
8
- IDLEfork-0.9xx.win32.exe
9
- This is a Windows installer which will install IDLEfork in
10
- ..../site-packages/idleforklib/ and place the idefork startup script
11
- at ..../scripts/idlefork. Rename this to idlefork.pyw and
12
- point your launcher icons at it. Installation is as idlefork
13
- to avoid conflict with the original Python IDLE.
14
-
15
- IDLEfork-0.9xx-1.noarch.rpm
16
- This is an rpm which is designed to install as idleforklib in an
17
- existing /usr/lib/python2.2 tree. It installs as idlefork to avoid
18
- conflict with Python IDLE.
19
-
20
- Python rpms are available at http://www.python.org/2.2.2/rpms.html and
21
- http://www.python.org/2.2.1/rpms.html.
8
+ IDLEfork-0.9xx.win32-py2.2.exe
9
+ IDLEfork-0.9xx.win32-py2.3.exe
10
+
11
+ These are Windows installers which will install IDLEfork in
12
+ ..../site-packages/idleforklib/ and place the idefork startup script at
13
+ ..../scripts/idlefork. Rename this script to idlefork.pyw and point
14
+ your launcher icons at it. Installation is as idlefork to avoid
15
+ conflict with the original Python IDLE. Choose the installer
16
+ appropriate for your version of Python.
22
17
23
18
IDLEfork-0.9xx.tar.gz
24
19
This is a distutils sdist (source) tarfile which can be used to make
25
- installations on platforms not supported by the above files.
26
- ** It remains configured to install as idlelib, not idleforklib. **
20
+ installations on non-Windows platforms, or on Windows if a custom
21
+ installation is desired. It installs as idlefork and will not
22
+ conflict with Python IDLE.
27
23
28
24
Unpack in ..../Tools/, cd to the IDLEfork directory created, and
29
- "python setup.py install" to install in ....site-packages/idlelib.
30
- This will overwrite the Python IDLE installation.
25
+ "python setup.py install" to install in ....site-packages/idleforklib.
26
+
27
+ IDLE-0.9xx.tar.gz
28
+ This is also a distutils sdist (source) tarfile.
29
+
30
+ ** It remains configured to install as idlelib, not idleforklib. **
31
+
32
+ First, remove your existing ..../site-packages/idlelib directory.
33
+
34
+ Unpack in ..../Tools/, cd to the IDLE directory (note the caps)
35
+ created, and "python setup.py install" to install in
36
+ ....site-packages/idlelib. This will replace the Python IDLE
37
+ installation.
38
+
39
+ If you don't want to overwrite Python IDLE, I'd recommend using the
40
+ IDLEfork release mentioned above. However, it is also possible to
41
+ simply build IDLE without installing it: "python setup.py build" and
42
+ then copy the interrupt.so library out of the build directory into the
43
+ IDLE directory where IDLE can find it,
44
+
45
+ In this case, IDLE will not be on your PATH unless you are in the
46
+ source directory. Either append your PATH or use a fully qualified
47
+ path to access IDLE, something like
48
+
49
+ python /usr/bin/python/Tools/IDLE/idle.py
50
+
51
+ That way you can continue to use the original IDLE at
52
+ ..../Tools/idle/idle.py if you like. (note lower case)
53
+
54
+ Using this approach, it's possible to have many different versions
55
+ of IDLE on your system at the same time, for comparison/test.
31
56
32
- If you don't want to overwrite Python IDLE, it is also possible to
33
- simply call "python idle.py" to run from the IDLEfork source directory
34
- without making an installation. In this case, IDLE will not be on
35
- your PATH unless you are in the source directory. Also, it is then
36
- advisable to remove any Python IDLE installation by removing
37
- ..../site-packages/idlelib so the two identically named packages don't
38
- conflict.
39
57
40
58
On Redhat Linux systems prior to 8.0, /usr/bin/python may be pointing
41
59
at python1.5. If so, change the first line in the /usr/bin/idle
42
60
script to read:
61
+
43
62
!# /usr/bin/python2.2
44
63
64
+
65
+ An RPM has not been released since with addition of the interrupt
66
+ extension it is no longer platform/architecture independent. The
67
+ distutils make it easy to build and install from the .tar.gz
68
+ distribution. Certainly it's just as easy as installing the rpm.
69
+
70
+
45
71
On Mac OS X, /usr/bin/python may be pointing at the OS-installed
46
72
python, which does not have GUI support. Change the first line of
47
73
/usr/bin/idle to read:
74
+
48
75
#! /usr/bin/env pythonw
49
76
50
77
Also, to build an IDLE application that can be used from the Finder
51
78
on Mac OS X, run:
79
+
52
80
pythonw buildapp.py build
53
81
open build
82
+
54
83
You will see an IDLE application.
84
+
55
85
56
- See README.txt for more details on this version of IDLEfork.
86
+ See README.txt and NEWS.txt for more details on this version of IDLEfork.
57
87
58
88
59
89
0 commit comments