Commit Graph

236 Commits

Author SHA1 Message Date
Tim Peters a1fd0505af Add a dialog for the backup directory (default "yes I want one, and
make it MyPythonDirectory\BACKUP\").
2001-07-30 07:30:56 +00:00
Tim Peters 6ea8baa5ee Now stop distutils and xml from getting *too* much (like .pyc files). 2001-07-29 22:12:28 +00:00
Tim Peters 8e02fb15e6 Repair long-standing mistakes in the distutils and xml installations:
1. Only .py files were getting installed.
2. Empty CVS directories were getting created.
Both were due to trying to get away with "recursively copy *.py" one-
liner scripting.
2001-07-29 21:36:58 +00:00
Tim Peters 412e458495 Remove Lib\plat-win from PYTHONPATH; that directory went away a year ago. 2001-07-29 21:04:09 +00:00
Tim Peters d8c7da4bf0 Don't prompt for the doc (HTML) directory anymore (just assume ..\html). 2001-07-29 19:57:07 +00:00
Tim Peters 4670b3a2ee Whew -- I *think* this completes folding in all the new-in-8.1 stuff.
Still need to test it in pathological scenarios.
2001-07-29 19:48:44 +00:00
Tim Peters 4e9a00e3c2 Ewwww -- the 8.1 support for rolling back changes in case the user aborts
the installation was hiding in a part of the GUI I never saw before.  Add
it.
2001-07-29 19:31:03 +00:00
Tim Peters 0097bae32d Add oodles more 8.1 Wizard boilerplate. This creates lots of vrbls we
don't use directly, but the Wise utility scripts we invoke (like
uninstal.wse) sometimes need them.
2001-07-29 19:27:23 +00:00
Tim Peters 386b7a3a68 Add version resource info to installer .exe. 2001-07-29 19:02:52 +00:00
Tim Peters 6307bb8b7d Folding some Wizard boilerplate back in, created in new Wise projects but
not in the stuff we inherited from Wise 5.0 -- better safe than sorry.
2001-07-29 18:55:06 +00:00
Tim Peters e7b2a27d47 Updated to Wise 8.14 (web update).
Got rid of useless "Welcome" screen.
Folded Tcl/Tk into the main Python component.
Bug introduced during upgrade:  Start Menu entries didn't work if
    installation was to a path with an embedded space, because the
    enclosing quotes somehow got dropped on the cmdline args.  Repaired.
Years of wizard-generated code blocks left this script hard to read.
    Added many more comments, blank lines, and rearranged related code
    into related blocks where they had drifted apart.
Added %_PYMAJOR_% and %_PYMINOR_% compiler vrbls, and reworked script
    items to use them as appropriate.  This should slash the amount of
    hand-fiddling needed when version numbers change.  Indeed, in the
    body of the script, only the first line should need changing now.
Deleted unreferenced wizard-generated compiler vrbls.
2001-07-29 09:28:37 +00:00
Tim Peters db642c66a8 Woo hoo! Relative paths! This is, alas, partly braindead: When the new
"relative paths" option is enabled, 8.1 rewrites *every* path to be
relative to PCbuild (the dir containing the .wse script), even absolute
paths you type in by hand, paths to the Wise installation itself, and even
paths to the Windows directories (sheesh).  Only way to stop it is to
start a path with a variable reference, and we screwed ourselves before
by not using the predefined %_WISE_% vrbl to point to the Wise
installation.  Repaired that old, repeated and well-hidden mistake.
Also:
+ Got rid of the %_SRC_% vrbl (such paths always relative to PCBuild now).
+ Changed the %_DOC_% vrbl to prompt for the location of the unzipped
  HTML files (defaults to ..\html, cuz that's where I put them, but I
  expect I'll change that later cuz I always hated mixing the generated
  docs into the CVS tree ... Guido, if you're reading this, where did you
  unpack the docs when building a Windows installer?  Happy to oblige.).
+ Stopped the generated installer from filling up the entire screen (got
  rid of the massive blue background gradient -- new option).
+ Added the helpful app publisher and app URL registry entries that Win2K
  displays in its version of Add/Remove.
2001-07-29 02:04:20 +00:00
Tim Peters 50e278ecfc Convert from Wise version 5.0 to 8.1. Gotta hand it to 'em! 8.1 imported
the old script without any complaints, didn't demand any manual changes,
and built a working installer from it that acts very much like the old one.
It did add a few script items, and changed one, so checking it in now
before I break everything again.
2001-07-29 00:48:54 +00:00
Tim Peters faa7f116f2 Move Windows to Expat 1.95.2. CAUTION: Your Windows build won't work
until you download the new expat and install it; see PCbuild\readme.txt.
2001-07-28 07:56:38 +00:00
Tim Peters 76f373d081 Repair more now-obsolete references to config.h. 2001-07-26 21:34:59 +00:00
Martin v. Löwis 4f1cd8bdcb Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
Tim Peters b5c61a899e Leave the Inno script in better shape. Added registration of .py etc
extensions -- but Inno uninstall doesn't restore previous ones (if any),
so that's another step backwards.
2001-07-21 21:16:39 +00:00
Tim Peters 7e5dcf6a33 A full Inno Setup script for Python, except for the few hard and esoteric
parts Inno has no good answer for (read the comments at the top of the
script).
2001-07-20 09:32:16 +00:00
Tim Peters 0b89fc0214 Remove the TENTATIVE marker from the now-historic Windows buildnos. 2001-07-20 05:17:10 +00:00
Tim Peters 0eb4f3e994 Prepare Windows installer for 2.2a1. 2001-07-17 04:05:43 +00:00
Tim Peters c683a29332 Remove TENTATIVE from the 2.1.1c1 Windows buildno. 2001-07-14 03:31:35 +00:00
Tim Peters c4889c496a Remove now-unnecessary "from __future__ import nested_scopes" stmts. 2001-07-12 22:36:02 +00:00
Tim Peters 9b23920b0f Fiddle Windows installer to create Lib/site-packages/REAMDE as
Lib\site-packages\README.txt.
2001-07-12 20:15:25 +00:00
Tim Peters 1a7f16ccdf Removed fpectlmodule.c and fpetestmodule.c from the Windows build. They
weren't functional under Windows even if enabled.
2001-07-05 21:19:02 +00:00
Tim Peters 8734952a84 Add tentative 2.1.1 Windows build numbers. 2001-07-02 04:08:39 +00:00
Tim Peters 289a961cd4 Record Windows build number for 2.0.1 final. 2001-06-22 02:06:04 +00:00
Tim Peters 42107c5a0f Record Windows buildno for 2.0.1c1. 2001-06-13 19:17:32 +00:00
Tim Peters 9dfe4cdfa4 Teach Windows about new iterobject.c. 2001-04-20 21:21:28 +00:00
Tim Peters 52709e321c Move Windows stuff to 2.2, so CVS builds won't interfere with 2.1
installations.
2001-04-18 21:12:25 +00:00
Tim Peters dd37dace87 Update Windows installer & buildno for 2.1 final. 2001-04-16 18:20:30 +00:00
Tim Peters b093166f93 Update Windows installer & build number to 2.1c2 release. 2001-04-16 01:44:08 +00:00
Tim Peters fd09e86109 Update Windows build # and installer for 2.1c1. 2001-04-12 04:01:39 +00:00
Tim Peters 66f0961386 pydoc changed overnight in such a way that it no longer worked from the
Windows start-menu item.  This recovers from that.
2001-03-23 20:21:29 +00:00
Tim Peters fe0d79fbeb Add Jeremy's compiler to the Windows install. 2001-03-23 03:43:35 +00:00
Tim Peters 55f826cd6a Update Windows installer for 2.1b2. 2001-03-21 06:09:14 +00:00
Tim Peters baa03e80f4 When building the installer, prompt for the location of the system directory
on the current machine.  Wise doesn't seem to know this itself, and it
varies across Windows flavors.
2001-03-19 19:19:45 +00:00
Tim Peters b3d6be9d93 Windows: Fallout from renaming the pydoc file. 2001-03-11 08:06:25 +00:00
Tim Peters 1eb0a92214 SF bug Win32: pydoc command isn't executable.
As the bug report notes, the Windows installer creates a useless pydoc
file in the base directory.  Changed the installer to rename it pydoc.pyw
instead.
2001-03-11 07:34:18 +00:00
Tim Peters b2a22f4533 Magic strings in both Python and the Wise installer define the registry key
to be used in Windows.  They got out of synch.  Repaired that, and added
comments to each one pointing at the other.
2001-03-11 04:30:35 +00:00
Guido van Rossum fe010e41cc Add a new item to the Python 2.1 start menu: "Module Docs".
This brings up Ping's pydoc server.

(XXX The icons for this and for IDLE seem screwed.  Oh well.)
2001-03-02 04:59:38 +00:00
Tim Peters 5f850ab47f Prepare Windows for 2.1 beta 1: installer dialogs and bump "build number". 2001-03-01 02:43:40 +00:00
Tim Peters 0f4e93d434 Backing out nested scopes broke the Windows build. Repairing. 2001-02-27 21:11:46 +00:00
Tim Peters bd00cdaf73 Teach Windows build about new future.c. 2001-02-27 19:52:02 +00:00
Tim Peters 15d72703fc Windows: Remove soundex from pythoncore subproject. 2001-02-22 19:51:31 +00:00
Tim Peters ffd9328239 Clean up the "docs". 2001-02-19 21:44:53 +00:00
Thomas Wouters d807570ed1 Re-add DOS line-endings and mark the files binary. 2001-02-14 09:43:47 +00:00
Tim Peters 6a9aec47b7 Change Windows test to do a complete job of removing .pyc/.pyo files
reachable from Lib/.
2001-02-11 00:46:39 +00:00
Tim Peters c898f2cd3b Teach Windows build about new symtable.c. 2001-02-09 23:05:56 +00:00
Tim Peters d66595fe42 Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call! 2001-02-04 03:09:53 +00:00
Tim Peters b16c56f0ba Teach Windows build and installer about new _symtable module/DLL. 2001-02-02 21:24:51 +00:00
Tim Peters 4d282decbe Teach the Windows installer about the _test module. 2001-02-02 06:33:04 +00:00
Tim Peters 9ea17ac595 Patch derived from Trent's 101162: a Python/C API testing framework.
STILL NEEDS UNIX BUILD CHANGES.
2001-02-02 05:57:15 +00:00
Tim Peters 747d5b63db Teach Windows build about the _weakref module. 2001-02-02 00:07:07 +00:00
Tim Peters ca873eddd5 Windows build: update for 2.1a2, + get ucnhash out of the installer. 2001-02-01 05:10:02 +00:00
Tim Peters ee826f88c9 Docs for new Windows zlib build procedure. 2001-01-31 19:39:44 +00:00
Mark Hammond ae8c268a2b Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash
This involves changing the zlib build process to build zlib itself from sources, then use that library.  Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
2001-01-31 10:28:03 +00:00
Tim Peters 2786543b70 Teach Windows build about new cellobject.c. 2001-01-26 00:12:49 +00:00
Tim Peters 19f52c2e34 Windows: ucnhash subproject no longer exists (/F merged into unicodedata). 2001-01-24 10:07:22 +00:00
Tim Peters 755f4c1035 Added -O option (to run python or python_d w/ -O), 2001-01-23 02:42:09 +00:00
Tim Peters 54bac8e8c5 Remove unicodedatabase.c from the unicodedata subproject. 2001-01-21 23:49:56 +00:00
Tim Peters 2ad1a444e5 When running the tests twice, stuck a "Press any key to continue ..." pause
between passes:  Win9x DOS boxes are limited to 50 lines max, and the result
of the first pass scrolls off irretrievably otherwise.  Also simplified
the goto-laden logic a bit.
2001-01-20 01:53:43 +00:00
Tim Peters 2cfa9806c7 Run tests twice by default, first time deleting .pyc/.pyo files.
New option "-q" to leave .pyc/.pyo alone.
2001-01-19 21:43:49 +00:00
Guido van Rossum 4bf9c20e18 Delete the bytecode from the library and tests before running the
tests for the first time -- like the Unix Makefile does.  This
avoids not catching problems in the bytecode generator and/or bytecode
marshalling.
2001-01-19 21:00:04 +00:00
Tim Peters befc97ca34 Clarifications. 2001-01-18 19:01:39 +00:00
Tim Peters 97c9640cc9 Windows: 2.1a1 changes so Python runs again. Note that the python20
subproject is gone, replaced by the new pythoncore subproject.
2001-01-17 23:23:13 +00:00
Tim Peters 78542ef830 Windows installer: update dialogs, program groups, etc, to 2.1 alpha 1. 2001-01-17 08:54:19 +00:00
Tim Peters d8aaec04ba Export mmap's entry point under Windows (thanks, MarkH & Guido!). 2001-01-11 22:46:45 +00:00
Tim Peters 140d67081c Make Windows build compile new xreadlinesmodule. 2001-01-09 23:27:12 +00:00
Tim Peters 686924528c Prep the Windows installer for 2.0 final:
+ Bump the build number.
+ Changed app name in installer dialogs.
+ Fiddled dialogs to repair grammar and get rid of anachronisms (e.g.,
  "ProgMan" and "Program Manager" haven't made sense since Windows 3.1!).
2000-10-14 07:35:15 +00:00
Tim Peters 70d87d7329 Prep Windows installer for 2.0c1: title and build number. 2000-10-07 04:04:07 +00:00
Tim Peters 7b5af0460c Yet another new unique extension in the test directory. 2000-09-26 02:37:53 +00:00
Tim Peters f1fcc81a01 Bump Windows "build number" to 6.
Note that somebody still needs to change the interpreter to say "2.0b2";
I'm assuming that's a normal part of somebody's Unix release checklist.
2000-09-25 21:55:28 +00:00
Tim Peters f58a7aafea Implemented new os.startfile function, unique to Windows, exposing a
subset of Win32 ShellExecute's functionality.  Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen.  Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now!  That's where
ShellExecute lives.
2000-09-22 10:05:54 +00:00
Tim Peters 39fb28f759 Windows installer:
Don't ship debug .dll, .pyd or .lib files.  Saves space.
    Bumped the title to beta 2.
2000-09-21 07:50:36 +00:00
Tim Peters a2ebb87bfe Added simple batch file to make running the test suite from the PCbuild
directory less tedious.
2000-09-15 07:36:28 +00:00
Tim Peters 0932cb4499 Windows installer: In the Start menu IDLE shortcut, explictly invoke the
pythonw.exe we just installed.  Making Windows key off the .pyw extension
instead screws people with multiple Python installations (reported more
than once on c.l.py).
2000-09-11 07:55:40 +00:00
Tim Peters 627273165d Boost Windows build # to 5 (see new BUILDno.txt). 2000-09-07 08:37:37 +00:00
Tim Peters 553d2a5dc4 Windows installer, reflecting changes that went into a replacement 2.0b1
.exe that will show up on PythonLabs.com later today:
    Include the Lib\xml\ package (directory + subdirectories).
    Include the Lib\lib-old\ directory.
    Include the Lib\test\*.xml test cases (well, just one now).
    Remove the redundant install of Lib\*.py (looks like a stray duplicate
        line that's been there a long time).  Because of this, the new
        installer is a little smaller despite having more stuff in it.
2000-09-07 08:34:01 +00:00
Tim Peters fc9eeae253 Document new Windows build # scheme. 2000-09-07 08:28:50 +00:00
Tim Peters 0d416d3360 Windows build: install NEWS.txt; bump BUILD# to 3 in preparation for next
installer.
2000-09-05 17:14:16 +00:00
Tim Peters 87106b58cf Now that I've got real docs, redirect _DOC_ out of the Python 1.6 tree and
to the new docs.
Added a description to the Tcl/Tk file copies.
2000-09-05 06:23:16 +00:00
Tim Peters 50699215f8 test_mmap wrote null bytes into its expected-output file; this caused me to
waste an hour tracking down an illusion; repaired it; writing/reading non-
printable characters (except \t\r\n) into/outof text-mode files ain't
defined x-platform, and at least some Windows text editors do surprising
things in their presence.
Also added a by-hand "build humber" to the Windows build, in an approximation
of Python's inexplicable BUILD-number Unix scheme.  I'll try to remember to
increment it each time I make a Windows installer available.  It's starting
at 2, cuz I've put 2 installers out so far (both with BUILD #0).
2000-09-04 07:34:06 +00:00
Tim Peters 7527e00058 Install LICENSE.txt and README.txt.
In the Welcome dialog:
    Reworded reference to non-existent "Exit Setup" button.
    Removed useless "Back" button.
    Changed "push" to "click".
2000-09-01 19:59:11 +00:00
Tim Peters 9a83b92c75 Guido pointed out that the "non-admin install" blurb got displayed
very late in the process when running on Windows 2000 without admim
privs.  Rearranged so that the admin check is done at the start
instead.  Added words to the end of the blurb to make it very clear
how to abort the install (wasn't obvious to me that "Cancel" was
the right thing to click).
2000-09-01 19:30:26 +00:00
Tim Peters f6f6fa237f Back off to HKCU (instead of HKLM) if user doesn't have "NT adminstrator
privileges".  Untested except on Win98SE (where Wise writes to HKLM).
2000-09-01 11:45:02 +00:00
Tim Peters b04e650a88 Added installation of w9xpopen.exe.
Removed installation of Lib/plat-win/*.py, because it no longer exists!
2000-09-01 07:54:04 +00:00
Tim Peters aff1284ed1 In readme.txt, make what's needed to build the "optional" subprojects
much more explicit.  Also document that we're moving to Tcl/Tk 8.3.2.
Simplify .dsp files by getting rid of useless include paths.
.wse file changed to reflect that my setup is different than Guido's:
if you *build* a Python distro using python20.wse, beware!
2000-08-25 06:52:44 +00:00
Guido van Rossum 93ff482c21 At Mark Hammond's request, removing registry key
Software\Python\PythonCore\2.0\Dll\Python20.dll -- it's no longer
needed according to him.

Note: not yet tested!
2000-08-22 14:04:24 +00:00
Guido van Rossum 6424524fbe Thomas Heller noticed that the wrong registry entry was written for
the DLL.  Replace
 %_SYSDEST_%\Python20.dll
with
 %_DLLDEST_%\Python20.dll.
2000-08-22 12:10:02 +00:00
Mark Hammond f08b5d02b2 Support for building the new w9xpopen.exe, which is used for reliable popen operation on Windows 9x. 2000-08-14 05:07:05 +00:00
Trent Mick b07cf5080f Revert this checkin:
http://www.python.org/pipermail/python-checkins/2000-August/007072.html
and make PCbuild/*.dsp PCbuild/*.dsw binary again.
2000-08-13 22:59:26 +00:00
Trent Mick 557d35ebf2 These files all used to be tagged as binary in CVS. I recently changed this so
that these files are treated as normal text files (which they are). However,
the files also had to be changed to be stored in CVS internally with UNIX line
terminators (they had DOS line terminators internally before this commit).
2000-08-11 23:20:32 +00:00
Guido van Rossum 7cee6ddcab somehow the 'Total Keys=1' disappears. No other changes. 2000-08-01 15:50:09 +00:00
Tim Peters f9a4a6eec1 Typo repair. 2000-07-01 20:38:27 +00:00
Guido van Rossum 880066a9cb A bunch of project files were checked in as text files.
They should all be binary (cvs admin -kv has now been applied).
2000-07-01 04:03:32 +00:00
Guido van Rossum 74991fa4a3 Add ucnhash (new subproject). 2000-07-01 03:46:38 +00:00
Mark Hammond 20c8bc6ba3 The Python include paths were not specified. 2000-07-01 03:43:33 +00:00
Guido van Rossum 3e4d2f6dcf Define a magical symbol and magic include path so it will compile without
changes to the bsddb source.
2000-07-01 03:27:22 +00:00
Mark Hammond 2c62154e98 Add ucnhash to the workspace, as a dependency of python20. 2000-07-01 03:15:37 +00:00
Mark Hammond 5824f373d4 ucnhash now correctly builds for Windows. 2000-07-01 03:14:51 +00:00