Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 1 | This is Python release 1.4 beta 3 |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 2 | ================================= |
| 3 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 4 | It's a beta release. Use this if you want to help me iron the last |
| 5 | wrinkles out of the distribution before I release the real version |
| 6 | 1.4. In particular, I'm interested in porting experiences to Unix |
| 7 | boxes. Python should build out of the box using "./configure; make". |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 8 | Also try running configue with the --with-thread and --with-readline |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 9 | options (described below). |
| 10 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 11 | I really expect this to be the last beta release. I declare a |
| 12 | *FEATURE FREEZE* until 1.4 final is released (in a couple of weeks). |
| 13 | Changes in 1.4 final will be restricted to urgent bugfixes, |
| 14 | portability enhancements, and added documentation only. |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 15 | |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 16 | |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 17 | What's new in this release? |
| 18 | --------------------------- |
Guido van Rossum | 3ff96dd | 1996-07-30 18:05:04 +0000 | [diff] [blame] | 19 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 20 | A list of (nearly) everything that changed in each of the 1.4 beta |
| 21 | releases can be found in the file Misc/NEWS -- together this comprises |
| 22 | a list of everything that's changed since 1.3. |
Guido van Rossum | 3ff96dd | 1996-07-30 18:05:04 +0000 | [diff] [blame] | 23 | |
| 24 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 25 | What is Python anyway? |
| 26 | ---------------------- |
| 27 | |
| 28 | Python is an interpreted object-oriented programming language, and is |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 29 | often compared to Tcl, Perl, Scheme or Java. For a quick summary of |
| 30 | what Python can mean for a UNIX/C programmer, read Misc/BLURB.LUTZ. |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 31 | If you have web access, point your browser to http://www.python.org. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 32 | |
| 33 | |
| 34 | If you don't read instructions |
| 35 | ------------------------------ |
| 36 | |
| 37 | Congratulations on getting this far. :-) |
| 38 | |
| 39 | To start building right away (on UNIX): type "./configure" in the |
| 40 | current directory and when it finishes, type "make". The section |
| 41 | Build Instructions below is still recommended reading. :-) |
| 42 | |
| 43 | |
| 44 | Copyright issues |
| 45 | ---------------- |
| 46 | |
| 47 | Python is COPYRIGHTED but free to use for all. See the full copyright |
| 48 | notice at the end of this file. |
| 49 | |
| 50 | The Python distribution is *not* affected by the GNU Public Licence |
| 51 | (GPL). There are interfaces to some GNU code but these are entirely |
| 52 | optional and no GNU code is distributed with Python. For all these |
| 53 | packages, GPL-free public domain versions also exist. |
| 54 | |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 55 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 56 | |
Guido van Rossum | ff84049 | 1995-09-18 22:02:47 +0000 | [diff] [blame] | 57 | A modest plug |
| 58 | ============= |
| 59 | |
Guido van Rossum | 0447a32 | 1995-10-08 01:22:33 +0000 | [diff] [blame] | 60 | ************************************************************************* |
Guido van Rossum | 3ff96dd | 1996-07-30 18:05:04 +0000 | [diff] [blame] | 61 | * * |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 62 | * If you use Python, please consider joining the Python Software * |
| 63 | * Activity (PSA). See http://www.python.org/psa/. * |
| 64 | * * |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 65 | * Organizations that make heavy use of Python are especially * |
| 66 | * encouraged to become corporate members! * |
Guido van Rossum | 3ff96dd | 1996-07-30 18:05:04 +0000 | [diff] [blame] | 67 | * * |
Guido van Rossum | 0447a32 | 1995-10-08 01:22:33 +0000 | [diff] [blame] | 68 | ************************************************************************* |
Guido van Rossum | ff84049 | 1995-09-18 22:02:47 +0000 | [diff] [blame] | 69 | |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 70 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 71 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 72 | Build instructions |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 73 | ================== |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 74 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 75 | Before you can build Python, you must first configure it. |
| 76 | Fortunately, the configuration and build process has been streamlined |
| 77 | for most Unix installations, so all you have to do is type a few |
| 78 | commands, optionally edit one file, and sit back. There are some |
| 79 | platforms where things are not quite as smooth; see the platform |
| 80 | specific notes below. If you want to build for multiple platforms |
| 81 | sharing the same source tree, see the section on VPATH below. |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 82 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 83 | You start by running the script "./configure", which figures out your |
| 84 | system configuration and creates several Makefiles. (It takes a |
| 85 | minute or two -- please be patient!) When it's done, you are ready to |
| 86 | run make. You may want to pass options to the configure script -- see |
| 87 | the section below on configuration options and variables. |
| 88 | |
| 89 | To build Python, you normally type "make" in the toplevel directory. |
| 90 | This will recursively run make in each of the subdirectories Parser, |
| 91 | Objects, Python and Modules, creating a library file in each one. The |
| 92 | executable of the interpreter is built in the Modules subdirectory and |
| 93 | moved up here when it is built. If you want or need to, you can also |
| 94 | chdir into each subdirectory in turn and run make there manually (do |
| 95 | the Modules subdirectory last!). |
| 96 | |
| 97 | Once you have built an interpreter, see the subsections below on |
| 98 | testing, configuring additional modules, and installation. If you run |
| 99 | in trouble, see the next section. |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 100 | |
Guido van Rossum | 0a516c9 | 1994-09-12 10:58:40 +0000 | [diff] [blame] | 101 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 102 | Troubleshooting |
| 103 | --------------- |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 104 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 105 | See also the platform specific notes in the next section. |
| 106 | |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 107 | If recursive makes fail, try invoking make as "make MAKE=make". |
| 108 | |
| 109 | If you run into other trouble, see section 3 of the FAQ (file |
| 110 | Misc/FAQ) for hints on what can go wrong, and how to fix it. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 111 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 112 | If you rerun the configure script with different options, remove all |
| 113 | object files by running "make clean" before rebuilding. Believe it or |
| 114 | not, "make clean" sometimes helps to clean up other inexplicable |
| 115 | problems as well. Try it before sending in a bug report! |
| 116 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 117 | If the configure script fails or doesn't seem to find things that |
| 118 | should be there, inspect the config.log file. |
| 119 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 120 | |
| 121 | Platform specific notes |
| 122 | ----------------------- |
| 123 | |
Guido van Rossum | 0447a32 | 1995-10-08 01:22:33 +0000 | [diff] [blame] | 124 | (Some of these may no longer apply. If you find you can build Python |
| 125 | on these platforms without the special directions mentioned here, let |
| 126 | me know so I can remove them!) |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 127 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 128 | Linux: On Linux version 1.x, once you've built Python, use it to run |
| 129 | the regen script in the Lib/linux1 directory. Apparently |
| 130 | the files as distributed don't match the system headers on |
| 131 | some Linux versions. (The "h2py" command refers to |
| 132 | Tools/scripts/h2py.py.) The modules distributed for Linux 2.x |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 133 | should be okay. Shared library support now works by default |
| 134 | on ELF-based x86 Linux systems. |
Guido van Rossum | 8eca2c2 | 1996-02-14 18:37:46 +0000 | [diff] [blame] | 135 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 136 | AIX: A complete overhaul of the shared library support is now in |
| 137 | place. To enable it, uncomment the LINKCC line in the Setup |
| 138 | file. See Misc/AIX-NOTES for some notes on how it's done. |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 139 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 140 | WARNING! In some versions of AIX 3.x, you get errors about |
Guido van Rossum | a3b4b61 | 1996-07-21 02:48:16 +0000 | [diff] [blame] | 141 | Invalid Indent when running the Python test set. This appears |
| 142 | to be a bug in the AIX compiler. Rebuild Parser/tokenizer.c |
| 143 | using OPT="" or OPT=-g, or use gcc. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 144 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 145 | HP-UX: Shared library support now works by default (at least on HP-UX |
| 146 | 9.x). One other problem remains: the HP ANSI C compiler (cc |
| 147 | -Aa) is too pedantic to use, but in K&R mode, it barfs on a |
| 148 | few files (complexobject.c, getargs.c and operator.c). Until |
| 149 | this is fixed, the following seems to work: |
| 150 | |
| 151 | make -k # this compiles all but a few files |
| 152 | make OPT=-Aa # compile the remaining files |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 153 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 154 | Minix: When using ack, use "CC=cc AR=aal RANLIB=: ./configure"! |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 155 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 156 | SCO: 1) Everything works much better if you add -U__STDC__ to the |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 157 | defs. This is because all the SCO header files are broken. |
| 158 | Anything that isn't mentioned in the C standard it's |
| 159 | conditionally excluded when __STDC__ is defined. |
| 160 | |
| 161 | 2) Due to the U.S. export restrictions, SCO broke the crypt |
| 162 | stuff out into a separate library, libcrypt_i.a so the LIBS |
| 163 | needed be set to: |
| 164 | |
| 165 | LIBS=' -lsocket -lcrypt_i' |
| 166 | |
Guido van Rossum | a3b4b61 | 1996-07-21 02:48:16 +0000 | [diff] [blame] | 167 | 3) According to at least one report, the above apply only to |
| 168 | SCO 3 -- Python builds out of the box on SCO 5. |
| 169 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 170 | SunOS: On SunOS 4.x, when using the native "cc" compiler, you have to |
| 171 | disable modules "cmath" and "operator" in Modules/Setup (see |
| 172 | the next section) and edit the various Makefiles to add |
| 173 | "-DWITHOUT_COMPLEX" to the CFLAGS variable, in order to |
| 174 | overcome the limitation to pre-ANSI C. (Or, of course, you |
| 175 | could get gcc :-). |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 176 | |
Guido van Rossum | cc55c2d | 1996-10-21 15:14:27 +0000 | [diff] [blame^] | 177 | NeXT: To build fat binaries, use the --with-next-archs switch |
| 178 | described below. |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 179 | |
| 180 | |
| 181 | Configuring additional built-in modules |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 182 | --------------------------------------- |
Guido van Rossum | 19e0c26 | 1995-01-17 16:36:34 +0000 | [diff] [blame] | 183 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 184 | You can configure the interpreter to contain fewer or more built-in |
| 185 | modules by editing the file Modules/Setup. This file is initially |
| 186 | copied (when the toplevel Makefile makes Modules/Makefile for the |
| 187 | first time) from Setup.in; if it does not exist yet, make a copy |
| 188 | yourself. Never edit Setup.in -- always edit Setup. Read the |
| 189 | comments in the file for information on what kind of edits you can |
| 190 | make. When you have edited Setup, Makefile and config.c in Modules |
| 191 | will automatically be rebuilt the next time you run make in the |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 192 | toplevel directory. (When working inside the Modules directory, use |
| 193 | "make Makefile; make".) |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 194 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 195 | The default collection of modules should build on any Unix system, but |
| 196 | many optional modules should work on all modern Unices (e.g. try dbm, |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 197 | nis, termios, timing, syslog, curses, new, soundex, parser). Often |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 198 | the quickest way to determine whether a particular module works or not |
| 199 | is to see if it will build: enable it in Setup, then if you get |
| 200 | compilation or link errors, disable it -- you're missing support. |
| 201 | |
| 202 | On SGI IRIX, there are modules that interface to many SGI specific |
| 203 | system libraries, e.g. the GL library and the audio hardware. |
| 204 | |
| 205 | For SunOS and Solaris, enable module "sunaudiodev" to support the |
| 206 | audio device. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 207 | |
| 208 | |
| 209 | Setting the optimization/debugging options |
| 210 | ------------------------------------------ |
| 211 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 212 | If you want or need to change the optimization/debugging options for |
| 213 | the C compiler, assign to the OPT variable on the toplevel make |
| 214 | command; e.g. "make OPT=-g" will build a debugging version of Python |
| 215 | on most platforms. The default is OPT=-O; a value for OPT in the |
| 216 | environment when the configure script is run overrides this default |
| 217 | (likewise for CC; and the initial value for LIBS is used as the base |
| 218 | set of libraries to link with). |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 219 | |
| 220 | |
| 221 | Testing |
| 222 | ------- |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 223 | |
| 224 | To test the interpreter that you have just built, type "make test". |
| 225 | This runs the test set silently, twice (once with no compiled files, |
| 226 | once with the compiled files left by the previous test run). Each |
| 227 | test run should print "All tests OK." and nothing more. (The test set |
| 228 | does not test the built-in modules, but will find most other problems |
| 229 | with the interpreter.) |
| 230 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 231 | IMPORTANT: If the tests fail and you decide to mail a bug report, |
| 232 | *don't* include the output of "make test". It is useless. Run the |
| 233 | following command instead: |
| 234 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 235 | PYTHONPATH=../Lib:../Lib/test:./Modules ./python -c 'import testall' |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 236 | |
| 237 | (substituting the top of the source tree for .. if you built in a |
| 238 | different directory). This gives the output of the tests and shows |
| 239 | which test failed. |
| 240 | |
| 241 | |
| 242 | Installing |
| 243 | ---------- |
| 244 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 245 | Installing Python was never this easy! |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 246 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 247 | To install the Python binary, library modules, shared library modules |
| 248 | (see below), include files, configuration files, and the manual page, |
| 249 | just type "make install". This will install all platform-independent |
| 250 | files in subdirectories the directory given with the --prefix option |
| 251 | to configure or the 'prefix' Make variable (default /usr/local), and |
| 252 | all binary and other platform-specific files in subdirectories if the |
| 253 | directory given by --exec-prefix or the 'exec_prefix' Make variable |
| 254 | (defaults to the --prefix directory). All subdirectories created will |
| 255 | have Python's version number in their name, e.g. the library modules |
| 256 | are installed in "/usr/local/lib/python1.4/" by default. The Python |
| 257 | binary is installed as "python1.4" and a hard link named "python" is |
| 258 | created. The only file not installed with a version number in its |
| 259 | name is the manual page, installed as "/usr/local/man/man1/python.1" |
| 260 | by default. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 261 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 262 | If you have a previous installation of a pre-1.4 Python that you don't |
| 263 | want to replace yet, use "make altinstall". This installs the same |
| 264 | set of files as "make install" except it doesn't create the hard link |
| 265 | to "python1.4" named "python" and it doesn't install the manual page |
| 266 | at all. |
| 267 | |
| 268 | The only thing you may have to install manually is the Python mode for |
| 269 | Emacs. (But then again, more recent versions of Emacs may already |
| 270 | have it!) This is the file Misc/python-mode.el; follow the |
| 271 | instructions that came with Emacs for installation of site specific |
| 272 | files. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 273 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 274 | |
| 275 | Configuration options and variables |
| 276 | ----------------------------------- |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 277 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 278 | Some special cases are handled by passing options to the configure |
| 279 | script. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 280 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 281 | WARNING: if you rerun the configure script with different options, you |
| 282 | must run "make clean" before rebuilding. Exceptions to this rule: |
| 283 | after changing --prefix or --exec-prefix, all you need to do is remove |
| 284 | Modules/getpath.o; after changing --with-readline, just remove |
| 285 | Parser/myreadline.o. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 286 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 287 | --with(out)-gcc: The configure script uses gcc (the GNU C compiler) if |
| 288 | it finds it. If you don't want this, or if this compiler is |
| 289 | installed but broken on your platform, pass the option |
| 290 | --without-gcc. You can also pass "CC=cc" (or whatever the |
| 291 | name of the proper C compiler is) in the environment, but the |
| 292 | advantage of using --without-gcc is that this option is |
| 293 | remembered by the config.status script for its --recheck |
| 294 | option. |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 295 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 296 | --prefix, --exec-prefix: If you want to install the binaries and the |
| 297 | Python library somewhere else than in /usr/local/{bin,lib}, |
| 298 | you can pass the option --prefix=DIRECTORY; the interpreter |
| 299 | binary will be installed as DIRECTORY/bin/python and the |
| 300 | library files as DIRECTORY/lib/python/*. If you pass |
| 301 | --exec-prefix=DIRECTORY (as well) this overrides the |
| 302 | installation prefix for architecture-dependent files (like the |
| 303 | interpreter binary). Note that --prefix=DIRECTORY also |
| 304 | affects the default module search path (sys.path), when |
| 305 | Modules/config.c is compiled. Passing make the option |
| 306 | prefix=DIRECTORY (and/or exec_prefix=DIRECTORY) overrides the |
| 307 | prefix set at configuration time; this may be more convenient |
| 308 | than re-running the configure script if you change your mind |
| 309 | about the install prefix... |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 310 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 311 | --with-readline: You can use the GNU readline library to improve the |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 312 | interactive user interface. This gives you line editing and |
| 313 | command history when calling Python interactively. Unless GNU |
| 314 | readline is a standard part of your system (it is on Linux), |
| 315 | you need to configure build the GNU readline library before |
| 316 | running the configure script. Its sources are not distributed |
| 317 | with Python; you can ftp them from any GNU mirror site, or |
| 318 | from its home site: |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 319 | ftp://slc2.ins.cwru.edu/pub/dist/readline-2.0.tar.gz (or |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 320 | a higher version number -- using version 1.x is not |
| 321 | recommended). |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 322 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 323 | A GPL-free version was posted to comp.sources.misc in volume |
| 324 | 31 and is widely available from FTP archive sites, e.g. |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 325 | ftp://gatekeeper.dec.com/. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 326 | |
| 327 | Pass the Python configure script the option |
| 328 | --with-readline=DIRECTORY where DIRECTORY is the absolute |
| 329 | pathname of the directory where you've built the readline |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 330 | library. If GNU readline is a standard part of your system, |
| 331 | don't pass '=DIRECTORY'. Some hints on building and using the |
| 332 | readline library are in the FAQ (file Misc/FAQ). |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 333 | |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 334 | --with-thread: On most Unix systems, you can now use multiple threads. |
| 335 | To enable this, pass --with-thread. If the library required |
| 336 | for threads lives in a peculiar place, you can use |
| 337 | --with-thread=DIRECTORY. In the Modules/Setup file, enable |
| 338 | the thread module. (Threads aren't enabled automatically |
| 339 | because there are run-time penalties when support for them is |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 340 | compiled in even if you don't use them.) IMPORTANT: run "make |
| 341 | clean" after changing (either enabling or disabling) this |
| 342 | option! |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 343 | |
| 344 | --with-sgi-dl: On SGI IRIX 4, dynamic loading of extension modules is |
| 345 | supported by the "dl" library by Jack Jansen, which is |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 346 | ftp'able from ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 347 | This is enabled (after you've ftp'ed and compiled the dl |
| 348 | library!) by passing --with-sgi-dl=DIRECTORY where DIRECTORY |
| 349 | is the absolute pathname of the dl library. (Don't bother on |
| 350 | IRIX 5, it already has dynamic linking using SunOS style |
| 351 | shared libraries.) Support for this feature is deprecated. |
| 352 | |
| 353 | --with-dl-dld: Dynamic loading of modules is rumoured to be supported |
| 354 | on some other systems: VAX (Ultrix), Sun3 (SunOS 3.4), Sequent |
| 355 | Symmetry (Dynix), and Atari ST. This is done using a |
| 356 | combination of the GNU dynamic loading package |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 357 | (ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z) and an |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 358 | emulation of the SGI dl library mentioned above (the emulation |
| 359 | can be found at |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 360 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z). To |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 361 | enable this, ftp and compile both libraries, then call the |
| 362 | configure passing it the option |
| 363 | --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY where DL_DIRECTORY is |
| 364 | the absolute pathname of the dl emulation library and |
| 365 | DLD_DIRECTORY is the absolute pathname of the GNU dld library. |
| 366 | (Don't bother on SunOS 4 or 5, they already have dynamic |
| 367 | linking using shared libraries.) Support for this feature is |
| 368 | deprecated. |
| 369 | |
| 370 | --with-libm, --with-libc: It is possible to specify alternative |
| 371 | versions for the Math library (default -lm) and the C library |
| 372 | (default the empty string) using the options |
| 373 | --with-libm=STRING and --with-libc=STRING, respectively. E.g. |
| 374 | if your system requires that you pass -lc_s to the C compiler |
| 375 | to use the shared C library, you can pass --with-libc=-lc_s. |
| 376 | These libraries are passed after all other libraries, the C |
| 377 | library last. |
Guido van Rossum | 3ff96dd | 1996-07-30 18:05:04 +0000 | [diff] [blame] | 378 | |
| 379 | --with-next-archs='arch1 arch2': Under NEXTSTEP, this will build |
| 380 | all compiled binaries with the architectures listed. Includes |
| 381 | correctly setting the target architecture specific resource |
Guido van Rossum | cc55c2d | 1996-10-21 15:14:27 +0000 | [diff] [blame^] | 382 | directory. (This option is not supported on other platforms.) |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 383 | |
Guido van Rossum | d02ba45 | 1996-07-31 17:36:01 +0000 | [diff] [blame] | 384 | --with-libs='libs': Add 'libs' to the LIBS that the python |
| 385 | linked against. |
| 386 | |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 387 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 388 | Building for multiple architectures (using the VPATH feature) |
| 389 | ------------------------------------------------------------- |
| 390 | |
| 391 | If your file system is shared between multiple architectures, it |
| 392 | usually is not necessary to make copies of the sources for each |
| 393 | architecture you want to support. If the make program supports the |
| 394 | VPATH feature, you can create an empty build directory for each |
| 395 | architecture, and in each directory run the configure script (on the |
| 396 | appropriate machine with the appropriate options). This creates the |
| 397 | necessary subdirectories and the Makefiles therein. The Makefiles |
| 398 | contain a line VPATH=... which points to directory containing the |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 399 | actual sources. (On SGI systems, use "smake -J1" instead of "make" if |
| 400 | you use VPATH -- don't try gnumake.) |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 401 | |
| 402 | For example, the following is all you need to build a minimal Python |
| 403 | in /usr/tmp/python (assuming ~guido/src/python is the toplevel |
| 404 | directory and you want to build in /usr/tmp/python): |
| 405 | |
| 406 | $ mkdir /usr/tmp/python |
| 407 | $ cd /usr/tmp/python |
| 408 | $ ~guido/src/python/configure |
| 409 | [...] |
| 410 | $ make |
| 411 | [...] |
| 412 | $ |
| 413 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 414 | Note that Modules/Makefile copies the original Setup file to the build |
| 415 | directory if it finds no Setup file there. This means that you can |
| 416 | edit the Setup file for each architecture independently. For this |
| 417 | reason, subsequent changes to the original Setup file are not tracked |
| 418 | automatically, as they might overwrite local changes. To force a copy |
| 419 | of a changed original Setup file, delete the target Setup file. (The |
| 420 | makesetup script supports multiple input files, so if you want to be |
| 421 | fancy you can change the rules to create an empty Setup.local if it |
| 422 | doesn't exist and run it with arguments $(srcdir)/Setup Setup.local; |
| 423 | however this assumes that you only need to add modules.) |
| 424 | |
| 425 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 426 | Building on non-UNIX systems |
| 427 | ---------------------------- |
| 428 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 429 | Building Python for a PC is now a piece of cake! |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 430 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 431 | Enter the directory "PC" and read the file "readme.txt". Most popular |
| 432 | non-Unix PC platforms and compilers are supported (Unix ports to the |
| 433 | PC such as Linux, FreeBSD or Solaris-x86 of course use the standard |
| 434 | Unix build instructions). |
| 435 | |
| 436 | For the Mac, a separate source distribution will be made available, |
| 437 | for use with the CodeWarrior compiler. If you are interested in Mac |
| 438 | development, join the PythonMac Special Interest Group |
| 439 | (http://www.python.org/sigs/pythonmac-sig/, or send email to |
| 440 | pythonmac-sig-request@python.org). |
| 441 | |
| 442 | Of course, there are also binary distributions available for these |
| 443 | platforms -- see http://www.python.org/python/. |
| 444 | |
| 445 | To port Python to a new non-UNIX system, you will have to fake the |
| 446 | effect of running the configure script manually (for Mac and PC, this |
| 447 | has already been done for you). A good start is to copy the file |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 448 | config.h.in to config.h and edit the latter to reflect the actual |
| 449 | configuration of your system. Most symbols must simply be defined as |
| 450 | 1 only if the corresponding feature is present and can be left alone |
| 451 | otherwise; however RETSIGTYPE must always be defined, either as int or |
| 452 | as void, and the *_t type symbols must be defined as some variant of |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 453 | int if they need to be defined at all. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 454 | |
| 455 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 456 | |
| 457 | Miscellaneous issues |
| 458 | ==================== |
| 459 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 460 | Documentation |
| 461 | ------------- |
| 462 | |
| 463 | All documentation is provided in the subdirectory Doc in the form of |
| 464 | LaTeX files. In order of importance for new users: Tutorial (tut), |
| 465 | Library Reference (lib), Language Reference (ref), Extending (ext). |
| 466 | Especially the Library Reference is of immense value since much of |
| 467 | Python's power (including the built-in data types and functions!) is |
| 468 | described here. |
| 469 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 470 | To print the documentation from the LaTeX files, chdir into the Doc |
| 471 | subdirectory, type "make" (let's hope you have LaTeX installed!), and |
| 472 | send the four resulting PostScript files (tut.ps, lib.ps, ref.ps, and |
| 473 | ext.ps) to the printer. See the README file there. If you don't have |
| 474 | LaTeX, you can ftp the PostScript files from the ftp archives (see |
| 475 | below). |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 476 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 477 | All documentation is also available on-line via the Python web site |
| 478 | (http://www.python.org/, see below). It can also be downloaded |
| 479 | separately from the ftp archives (see below) in Emacs INFO, HTML or |
| 480 | PostScript form -- see the web site or the FAQ (file Misc/FAQ) for |
| 481 | more info. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 482 | |
| 483 | |
| 484 | Emacs mode |
| 485 | ---------- |
| 486 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 487 | There's an excellent Emacs editing mode for Python code; see the file |
| 488 | Misc/python-mode.el. Originally written by Tim Peters, it is now |
| 489 | maintained by Barry Warsaw <bwarsaw@cnri.reston.va.us>. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 490 | |
| 491 | |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 492 | Web site |
| 493 | -------- |
| 494 | |
| 495 | Python's own web site has URL http://www.python.org/. Come visit us! |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 496 | There are a number of mirrors, listed on the home page -- try a mirror |
| 497 | that's close you you. |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 498 | |
| 499 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 500 | Ftp site |
| 501 | -------- |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 502 | |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 503 | Python's own ftp site is ftp.python.org, directory /pub/python. See |
| 504 | the FAQ (file Misc/FAQ) for a list of other ftp sites carrying the |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 505 | Python distribution. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 506 | |
| 507 | |
| 508 | Newsgroup and mailing list |
| 509 | -------------------------- |
| 510 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 511 | There are a newsgroup and a mailing list devoted to Python. The |
| 512 | newsgroup, comp.lang.python, contains exactly the same messages as the |
| 513 | mailing list (though not always in the same order, due to the |
| 514 | mysterious nature of the Usenet news distribution algorithm). To |
| 515 | subscribe to the mailing list, send mail containing your real name and |
| 516 | e-mail address to "python-list-request@cwi.nl". Use the same address |
| 517 | if you want to unsibscribed. (A real person reads these messages, so |
| 518 | no LISTPROC or Majordomo commands, please, and please be patient -- |
| 519 | normal turn-around time is about one working day.) |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 520 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 521 | The Python web site contains a search form that lets you search the |
| 522 | newsgroup archives (or the web site itself). Click on the "search" |
| 523 | link in the banner menu on any page of http://www.python.org/. |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 524 | |
| 525 | |
| 526 | Bug reports |
| 527 | ----------- |
| 528 | |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 529 | Bugs are best reported to the comp.lang.python newsgroup or the Python |
Guido van Rossum | cc55c2d | 1996-10-21 15:14:27 +0000 | [diff] [blame^] | 530 | mailing list -- see the section "Newsgroup and mailing list" above. |
Guido van Rossum | dfcf35d | 1996-08-26 17:52:09 +0000 | [diff] [blame] | 531 | Before posting, check the newsgroup archives (see above) to see if |
| 532 | your bug has already been reported! If you specifically don't want to |
| 533 | involve the newsgroup or mailing list, send them to |
| 534 | python-bugs@python.org. |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 535 | |
| 536 | |
| 537 | Questions |
| 538 | --------- |
| 539 | |
| 540 | For help, if you can't find it in the manuals, the FAQ or on the web |
| 541 | site, it's best to post to the comp.lang.python or the Python mailing |
| 542 | list (see above). If you specifically don't want to involve the |
| 543 | newsgroup or mailing list, send questions to python-help@python.org. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 544 | |
| 545 | |
| 546 | The Tk interface |
| 547 | ---------------- |
| 548 | |
| 549 | Tk (the user interface component of John Ousterhout's Tcl language) is |
| 550 | also usable from Python. Since this requires that you first build and |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 551 | install Tcl/Tk, the Tk interface is not enabled by default. It works |
| 552 | with Tcl 7.5 and Tk 4.1 as well as with Tcl 7.4 and Tk 4.0. |
| 553 | |
| 554 | See http://www.smli.com/research/tcl/ for more info on where to get |
| 555 | Tcl/Tk. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 556 | |
| 557 | To enable the Python/Tk interface, once you've built and installed |
| 558 | Tcl/Tk, all you need to do is edit two lines in Modules/Setup; search |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 559 | for the string "_tkinter". Uncomment one (normally the first) of the |
| 560 | lines beginning with "#_tkinter" and un-comment the line beginning |
| 561 | with "#TKPATH". If you have installed Tcl/Tk or X11 in unusual |
| 562 | places, you will have to edit the first line to fix or add -I and -L |
| 563 | options. See the Build Instructions above for more details. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 564 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 565 | There is little documentation on how to use Tkinter; however most of |
| 566 | the Tk manual pages apply quite straightforwardly. Begin with |
| 567 | fetching the "Tk Lifesaver" document, |
| 568 | e.g. ftp://ftp.python.org/pub/python/doc/tkinter-doc.tar.gz (a gzipped |
| 569 | tar file containing a PostScript file) or the on-line version |
| 570 | http://www.python.org/doc/life-preserver/index.html. Reading the |
| 571 | Tkinter.py source will reveal most details on how Tkinter calls are |
| 572 | translated into Tcl code. |
| 573 | |
| 574 | There are demos in the Demo/tkinter directory, in the subdirectories |
| 575 | guido, matt and www (the matt and guido subdirectories have been |
| 576 | overhauled to use more recent Tkinter coding conventions). |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 577 | |
| 578 | Note that there's a Python module called "Tkinter" (capital T) which |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 579 | lives in Lib/tkinter/Tkinter.py, and a C module called "_tkinter" |
| 580 | (lower case t and leading underscore) which lives in |
| 581 | Modules/_tkinter.c. Demos and normal Tk applications only import the |
| 582 | Python Tkinter module -- only the latter uses the C _tkinter module |
| 583 | directly. In order to find the C _tkinter module, it must be compiled |
| 584 | and linked into the Python interpreter -- the _tkinter line in the |
| 585 | Setup file does this. In order to find the Python Tkinter module, |
| 586 | sys.path must be set correctly -- the TKPATH assignment in the Setup |
| 587 | file takes care of this, but only if you install Python properly |
| 588 | ("make install libinstall"). (You can also use dynamic loading for |
| 589 | the C _tkinter module, in which case you must manually fix up sys.path |
| 590 | or set $PYTHONPATH for the Python Tkinter module.) |
Guido van Rossum | 84c8c7f | 1995-08-28 02:44:24 +0000 | [diff] [blame] | 591 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 592 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 593 | Distribution structure |
| 594 | ---------------------- |
| 595 | |
| 596 | Most subdirectories have their own README file. Most files have |
| 597 | comments. |
| 598 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 599 | BUGS A list of known bugs (not completely up-to-date) |
| 600 | TODO A list of things that could be done (not up-to-date) |
| 601 | Demo/ Demonstration scripts, modules and programs |
| 602 | Doc/ Documentation (LaTeX sources) |
| 603 | Grammar/ Input for the parser generator |
| 604 | Include/ Public header files |
| 605 | Lib/ Python library modules |
| 606 | Makefile.in Source from which config.status creates Makefile |
| 607 | Misc/ Miscellaneous files |
| 608 | Modules/ Implementation of most built-in modules |
| 609 | Objects/ Implementation of most built-in object types |
| 610 | Parser/ The parser and tokenizer and their input handling |
| 611 | Python/ The "compiler" and interpreter |
| 612 | README The file you're reading now |
| 613 | Tools/ Some useful programs written in Python |
| 614 | acconfig.h Additional input for the autoheader program |
| 615 | config.h.in Source from which config.status creates config.h |
| 616 | configure Configuration shell script (GNU autoconf output) |
| 617 | configure.in Configuration specification (GNU autoconf input) |
| 618 | install-sh Shell script used to install files |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 619 | |
| 620 | The following files will (may) be created in the toplevel directory by |
| 621 | the configuration and build processes: |
| 622 | |
Guido van Rossum | 6d9cc80 | 1996-08-01 17:31:22 +0000 | [diff] [blame] | 623 | Makefile Build rules |
| 624 | config.cache cache of configuration variables |
| 625 | config.h Configuration header |
| 626 | config.log log from last configure run |
| 627 | config.status status from last run of configure script |
| 628 | python The executable interpreter |
| 629 | tags, TAGS Tags files for vi and Emacs |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 630 | |
| 631 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 632 | Author's address |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 633 | ================ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 634 | |
| 635 | Guido van Rossum |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 636 | CNRI |
| 637 | 1895 Preston White Drive |
Guido van Rossum | 8d7d4ed | 1996-07-30 21:41:07 +0000 | [diff] [blame] | 638 | Reston, VA 20191 |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 639 | USA |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 640 | |
Guido van Rossum | d0fe845 | 1996-08-26 03:02:37 +0000 | [diff] [blame] | 641 | E-mail: guido@cnri.reston.va.us or guido@python.org |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 642 | |
| 643 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 644 | |
| 645 | Copyright notice |
| 646 | ================ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 647 | |
| 648 | The Python source is copyrighted, but you can freely use and copy it |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 649 | as long as you don't change or remove the copyright notice: |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 650 | |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 651 | ---------------------------------------------------------------------- |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 652 | Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, |
| 653 | The Netherlands. |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 654 | |
| 655 | All Rights Reserved |
| 656 | |
Guido van Rossum | c561e5d | 1994-08-23 13:52:46 +0000 | [diff] [blame] | 657 | Permission to use, copy, modify, and distribute this software and its |
| 658 | documentation for any purpose and without fee is hereby granted, |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 659 | provided that the above copyright notice appear in all copies and that |
Guido van Rossum | c561e5d | 1994-08-23 13:52:46 +0000 | [diff] [blame] | 660 | both that copyright notice and this permission notice appear in |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 661 | supporting documentation, and that the names of Stichting Mathematisch |
| 662 | Centrum or CWI not be used in advertising or publicity pertaining to |
| 663 | distribution of the software without specific, written prior permission. |
| 664 | |
| 665 | STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO |
| 666 | THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 667 | FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE |
| 668 | FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 669 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 670 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 671 | OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
Guido van Rossum | 91cb9d2 | 1995-04-10 11:47:38 +0000 | [diff] [blame] | 672 | ---------------------------------------------------------------------- |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 673 | |
| 674 | |
Guido van Rossum | faf681a | 1996-06-20 14:32:08 +0000 | [diff] [blame] | 675 | --Guido van Rossum (home page: http://www.python.org/~guido/) |