summaryrefslogtreecommitdiffstats
path: root/Demo/tix/INSTALL.txt
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-11-11 14:07:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-11-11 14:07:37 (GMT)
commit20efa68be43b18413cc08089211b1351687084af (patch)
tree8946066fd4bf0909efbe4d5c78757ffe917a7f9d /Demo/tix/INSTALL.txt
parentc252e6304e305c7126d1cd440fa8885f94ed09f2 (diff)
downloadcpython-20efa68be43b18413cc08089211b1351687084af.zip
cpython-20efa68be43b18413cc08089211b1351687084af.tar.gz
cpython-20efa68be43b18413cc08089211b1351687084af.tar.bz2
Patch #473002: Update Demo/tix tixwidgets.py et al.
Diffstat (limited to 'Demo/tix/INSTALL.txt')
-rw-r--r--Demo/tix/INSTALL.txt32
1 files changed, 20 insertions, 12 deletions
diff --git a/Demo/tix/INSTALL.txt b/Demo/tix/INSTALL.txt
index 9dc3093..ac70b68 100644
--- a/Demo/tix/INSTALL.txt
+++ b/Demo/tix/INSTALL.txt
@@ -1,25 +1,33 @@
$Id$
-Installing PyTix
+Installing Tix.py
----------------
-0) To use PyTix, you need Tcl/Tk (V8.2+), Tix (V8.1+) and Python (V2.1+).
- PyTix has been written and tested on a Intel Pentium running RH Linux 5.2
+0) To use Tix.py, you need Tcl/Tk (V8.3.3), Tix (V8.1.1) and Python (V2.1.1).
+ Tix.py has been written and tested on a Intel Pentium running RH Linux 5.2
and Mandrake Linux 7.0 and Windows with the above mentioned packages.
Older versions, e.g. Tix 4.1 and Tk 8.0, might also work.
- There is nothing OS-specific in PyTix itself so it should work on
+ There is nothing OS-specific in Tix.py itself so it should work on
any machine with Tix and Python installed. You can get Tcl and Tk
from http://dev.scriptics.com and Tix from http://tix.sourceforge.net.
-1) Build and install Tcl/Tk 8.2 or 8.3. Build and install Tix 8.1 or better.
+1) Build and install Tcl/Tk 8.3. Build and install Tix 8.1.
Ensure that Tix is properly installed by running tixwish and executing
the demo programs. Under Unix, use the --enable-shared configure option
- for all three. We recommend tcl8.2.3 for this release of PyTix.
+ for all three. We recommend tcl8.3.3 for this release of Tix.py.
-2) Modify Modules/Setup.dist and setup.py to change the version of the
- tix library from tix4.1.8.0 to tix8.1.8.2
+2a) If you have a distribution like ActiveState with a tcl subdirectory
+ of $PYTHONHOME, which contains the directories tcl8.3 and tk8.3,
+ make a directory tix8.1 as well. Recursively copy the files from
+ <tix>/library to $PYTHONHOME/lib/tix8.1, and copy the dynamic library
+ (tix8183.dll or libtix8.1.8.3.so) to the same place as the tcl dynamic
+ libraries ($PYTHONHOME/Dlls or lib/python-2.1/lib-dynload). In this
+ case you are all installed, and you can skip to the end.
+
+2b) Modify Modules/Setup.dist and setup.py to change the version of the
+ tix library from tix4.1.8.0 to tix8.1.8.3
These modified files can be used for Tkinter with or without Tix.
3) The default is to build dynamically, and use the Tcl 'package require'.
@@ -44,9 +52,9 @@ _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
# *** Uncomment and edit for TOGL extension only:
# -DWITH_TOGL togl.c \
# *** Uncomment and edit for Tix extension only:
- -DWITH_TIX -ltix8.1.8.2 \
+ -DWITH_TIX -ltix8.1.8.3 \
# *** Uncomment and edit to reflect your Tcl/Tk versions:
- -ltk8.2 -ltcl8.2 \
+ -ltk8.3 -ltcl8.3 \
# *** Uncomment and edit to reflect where your X11 libraries are:
-L/usr/X11R6/lib \
# *** Or uncomment this for Solaris:
@@ -69,8 +77,8 @@ If this does not work, you may need to tell python where to find
the Tcl, Tk and Tix library files. This is done by setting the
TCL_LIBRARY, TK_LIBRARY and TIX_LIBRARY environment variables. Try this:
- env TCL_LIBRARY=/usr/local/lib/tcl8.2 \
- TK_LIBRARY=/usr/local/lib/tk8.2 \
+ env TCL_LIBRARY=/usr/local/lib/tcl8.3 \
+ TK_LIBRARY=/usr/local/lib/tk8.3 \
TIX_LIBRARY=/usr/local/lib/tix8.1 \
/usr/local/bin/python Demo/tix/tixwidgets.py