Commit Graph

578 Commits

Author SHA1 Message Date
Tim Peters 1566a17af5 Get hotshot closer to compiling on Windows.
Still broken:  GETTIMEOFDAY.  This macro obviously isn't being defined
on Windows, so there's logic errors here I'd rather Fred untangled.
2001-10-12 22:08:39 +00:00
Tim Peters 0af6703a71 If all of Python, IDLE and Tcl/Tk are being installed, and the user has
not disabled file-extension registration, arrange for .py and .pyw files
to have an "Edit with IDLE" context (right-click) menu entry, selecting
which executes IDLE w/ the -e switch followed by the selected file's path.
2001-10-09 22:22:36 +00:00
Tim Peters 23d192e652 Teach Windows how to build the new weakref module. 2001-10-05 22:14:45 +00:00
Tim Peters abf925f6bf Post-release fiddling (prep for 2.2b1). 2001-09-28 21:53:42 +00:00
Tim Peters 30bff63958 Bump Windows build numbers for 2.2a4; installer changes were done earlier. 2001-09-27 16:28:15 +00:00
Tim Peters 8ca177bd21 Install the new Lib/email pkg.
Create & populate the new Lib/test/data directory.
2001-09-23 07:02:29 +00:00
Tim Peters 3069d50c18 Install the compiler package under Lib. 2001-09-20 04:09:39 +00:00
Tim Peters b07352e8b7 The usual post-release fiddling. 2001-09-08 01:25:47 +00:00
Tim Peters 745e366b4b Bump Windows buildno (installer changes were made earlier). 2001-09-06 16:33:17 +00:00
Mark Hammond 9bc0d6fcd0 First part of fix for bug #442142 - DLL base assignments need update 2001-09-06 06:39:39 +00:00
Tim Peters 7c198d3cde Add pynche's top-level txt files to Windows installer -- I don't believe
we've *ever* installed them!
2001-08-22 22:18:31 +00:00
Tim Peters edc9931f56 "The usual" post-release fiddling. 2001-08-22 21:36:50 +00:00
Tim Peters a6b9e3c814 Windows fiddling for 2.2a2: bump build number; update copyright and
company info in resource files; change installer strings to match.
This belongs in the release branch too, of course.
2001-08-19 00:56:28 +00:00
Tim Peters fc7265ab42 Wise uninstallers never delete the Python DLL from the system directory.
They should.  Added a line that's supposed to fix that -- it doesn't
actually work on my box, but checking it in anyway.
2001-08-16 01:53:51 +00:00
Tim Peters 591f71b1d4 New, larger installer bitmap from Erik van Blokland. Added more
vertical whitespace to the acknowledgements portion of the "Installation
Completed!" screen for easier reading.
2001-08-15 06:10:16 +00:00
Tim Peters 68db9dd07a Now that the dialogs have some breathing room, split the combo of Tcl/Tk,
IDLE and pydoc into a separate component.  That's almost as big as the
rest of Python (excl. docs and test suite) combined.

Pop up a confimation box if they choose to install at least one of
{Tcl/Tk/IDLE/pydoc, Tools, Test suite} but do not choose to install
Python -- doesn't make much sense, so ask whether that's really what they
want.
2001-08-11 04:01:31 +00:00
Tim Peters f5d3505e21 Grow the dialogs 25%, to make room for a nicer bitmap (in progress; don't
have it yet).
2001-08-11 03:13:58 +00:00
Tim Peters f30f1fc900 In the acks, CamelCase InstallMaster the same way Wise does it. 2001-08-09 05:16:00 +00:00
Tim Peters b6135df018 Add a comma. 2001-08-08 22:58:52 +00:00
Tim Peters 8eb16b1658 Give some special thanks on the final "Installation Completed!" screen. 2001-08-08 22:50:35 +00:00
Tim Peters 36a90f61e8 Thanks to
LettError, Erik van Blokland, http://www.letterror.com/
the Python Windows installer finally has an attractive Pythonic bitmap
to delight the senses and dampen the fears of the millions and millions of
eager new Windows users anticipating their first Python programming joy.

Always knew Mac users secretly wanted to switch to Windows <wink>.
2001-08-08 20:50:07 +00:00
Tim Peters ce42a8ec68 Add the new Tools/compiler/README to the WIndows install, as README.txt.
In the Wise installer's "Advanced Options" dialog, substitute in the
actual name of "the system directory" -- this is clearer, and especially
for people reading this dialog who aren't me <wink>.
2001-08-08 19:32:25 +00:00
Tim Peters ae5262ef32 + Turn off patch creation (this isn't a patch release! got turned on by
mistake).
+ Arrange for Win2K Add/Remove to show a Python icon.

I think this "does it" -- a full install/uninstall can now be done on a
Win2K box from an ordinary (not Admin, not Power User) user acct, incl.
file extension registration, Start Menu entries, and full Add/Remove.
2001-08-06 20:01:19 +00:00
Tim Peters 223ec936f1 + Made installer more reluctant to overwrite MS C runtime DLLs -- it's
been overwriting them even if they have the same version, not just if
  they're an older version (and our installers have always done this).
+ Added an "Advanced Options" subdialog to "Select Components".  Allows
  to do a non-admin install even if you have Administrator rights, and
  to skip registering file extensions and/or creating Start Menu
  shortcuts.  Since so far these installers have been tested only by me,
  and Win2K has been full of surprises, I want those options available
  out in the field.
Lots of web searching turned up what should have been obvious:  Because
Windows Installer is a native Win2K service, it can run at a higher
privilege level than the user invoking it.  So MSI installs don't bash
into these permission gotchas on Win2K, but Wise 8.1 does (it's just
another app to Win2K, and we're not alone in wrestling with this; but,
like changing int division in Python, Win2K is doing a right thing <wink>).
2001-08-05 13:58:48 +00:00
Tim Peters 45e5e72eb8 Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
files to satisfy imports, pydoc.pyw was just importing itself!
2001-08-05 05:43:20 +00:00
Tim Peters b39fa0e0fa + Redid file associations on Win2K in what I believe is "the right way".
Can't test it until getting to a Win2K box, because the non-Admin way
  of setting file associations on Win2K doesn't work on any other flavor
  of Windows (and other flavors of Windows never need Admin privs to
  do it the old way).
+ Consequently got rid of the "Register file associations" Component and
  associated GUI.
+ Added a line to the summary saying whether or not this is an Admin-level
  install (I fear that will be an important clue someday).
+ Minor fiddling to the summary to reduce the # of lines.  Added a
  horizontal scrollbar in case the install path is very long.
+ Reworked the way the Main and Tools components share pydoc.pyw; cleaner
  and simpler.
2001-08-05 05:19:15 +00:00
Tim Peters 67b9adaa87 New runtime vrbl DOADMIN. When false, we never try to write under HKLM,
and install the Python and MS runtime DLLs into the Python dir instead of
a system dir.
Initial value is taken from new compiler vrbl _DOADMIN_ (default true),
and forced to false if the user doesn't have admin privs.
This makes it possible to *test* non-admin installs on machines where the
distinction doesn't exist (like my home box), via just changing _DOADMIN_.
It may also be useful for users who don't *want* an installer to
scribble into their system dir (for example, me(! most days)), but that
would require adding more GUI to let them get at it.
2001-08-05 04:12:30 +00:00
Tim Peters 4de219d511 + Add version info to Win2K add/remove.
+ Fiddle vrbls so Win2K add/remove can display version w/o future manual
  script fiddling.
+ Break apart the mysterious wizard-generated Win2K "Edit 3 Registry Keys"
  script items by hand into 3 separate items, so you can see what the heck
  they're doing in the script view.
+ pydoc.pyw was a problem:  it's installed by both the Main and Tools
  components.  So when both were selected, the second time it got
  installed Wise figured it was overwriting a pre-existing version, and
  made a backup copy in BACKUP.  A rollback-uninstall then restored that,
  leaving the Tools/Scripts/ directory non-empty, and so Wise couldn't
  remove that directory (or any above it).  Fixed by installing pydoc.pyw
  at most once.
+ Rearranged and commented the "register file extensions" section, because
  it was confusing and needs more work:  turns out it's not true that
  Win2K requires Admin privs to register file extensions, BUT, if you
  don't have Admin privs, Win2K requires a new way to register file
  extensions, and a way that doesn't blow up but doesn't do any good either
  on earlier Windows flavors.  I think I know how to get this done, but am
  too depressed to do it right now <0.7 wink>.
2001-08-04 23:23:27 +00:00
Tim Peters a0a7706916 + Moved IDLE from the "tools" component to the main component.
+ Ditto pydoc.
  (IMO, both should have been done long ago -- simply didn't occur to
   me before)
+ Build the summary text into a vrbl instead of a temp file.  Doh!  Less
  fiddling, and should avoid another class of Win2K permission problems.
Bug:  the "auto vertical scrollbar" control on the summary page doesn't
work (never creates a scrollbar, no matter how much text).  So forced a
vertical scrollbar there.
2001-08-03 19:04:13 +00:00
Tim Peters 2aadd36641 No more Inno Envy: the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.
2001-08-03 11:11:35 +00:00
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
Tim Peters a7f6de7691 Just changes to comments. 2001-08-01 18:42:54 +00:00
Tim Peters 60515573ba Repair more ways in which the "backup files" dialog differed from all the
others (wrong title, inconsistent layout).  Also tried to make the dialog
text clearer, and spelled out what the "yes" and "no" buttons *mean*.
2001-08-01 18:33:33 +00:00
Tim Peters 5a99e0ca0c We always wrote a pair of lines to the Wise install.log telling it to
delete the Tools and Lib directories at uninstall time.  However,
under the old version of Wise, they didn't actually do anything.  Under
the new version, they work as advertised, and even delete files users
added.
Got rid of those, and replaced them with similar uninstall cmds that
get rid of all .pyc and .pyo files (whether or not the installer created
them).  This works nicely!  It still tears down the directory structure,
except for those directories needed to get to any non-.pyc/o file(s) the
user may have added.
2001-08-01 06:29:56 +00:00
Tim Peters b8b3291152 Hmm. The Backup/Replace dialog also had back/next buttons three pixels
narrower than all the other Wise dialogs, and offset by a few pixels in
the vertical direction too.  Made these things consistent across dialogs
too.
2001-08-01 03:42:27 +00:00
Tim Peters bbeb69e357 Aha! Finally figured out something else that's been driving me nuts:
turns out the canned new "backup directory" dialog put its "back" and
"next" buttons at a different relative horizontal position than all the
other canned dialogs.  This explains why you had to keep moving the
mouse around if you wanted to do a straight all-default install -- the
Next button kept moving around.  Now the back/next buttons are in exactly
the same place on all dialogs, and you can click straight thru to the end.
2001-08-01 03:36:20 +00:00
Tim Peters 4951a980ad The "Select Destination Directory" dialog didn't ask for confirmation
about installing into a pre-existing directory *unless* you hit the
Browse button first.  At least while testing, this screwed me repeatedly.
Plus I really liked the Inno Setup scheme of giving you a list box in
its "select directory" dialog without needing a distinct browse button
to ask for that.

So I redid this dialog from scratch:  now gives a list box at once, the
browse button is gone, it asks for confirmation if the directory already
exists, and, since this is the first dialog in the set now, also removed
its "Back" button.
2001-08-01 03:29:59 +00:00
Tim Peters 1f7862ec56 Remove useless Back button from Finished dialog. 2001-08-01 02:36:21 +00:00
Tim Peters aa6111fc93 Add mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c. 2001-07-31 22:10:29 +00:00
Tim Peters ce5f13ae41 I hope this irons out the Add/Remove kinks on Win2K for users w/o Admin
privs, but haven't tested that yet.  Doesn't hurt on Win98SE, anyway.
2001-07-31 03:24:55 +00:00
Tim Peters 85a5bae452 Remove oodles of pointless file date and size stamps. I caught the Wise
GUI inserting those once before shortly after I started using it, but
don't know what triggers it -- presumably something in the "expert" view
(which is, suitably enough, unsuited to experts <wink>).
2001-07-30 23:26:41 +00:00
Tim Peters 96e1d2f206 Massive fiddling to get the install to work at all on a Win2K box under a
plain unprivileged User acct:
+ Had to duplicate Wise's Uninstal.wse script, in order to change the line
  at its end that unconditionally tries to write uninstall info under HKLM.
  This is our new file Uninstal.wse, which must be included by python20.wse
  instead of using Wise's version.
+ In every other case we write to HKLM, also write to HKCU instead (we
  were already doing that in *most* places, but not quite all).
+ If the user doesn't have admin privs, the DLLs we usually write to the
  system dir are written to the root of the Python installation instead.
  That's python22.dll, plus the two MSVC runtime DLLs.
+ Added a new component "Register file extensions".  Registering .py etc
  is done under HKEY_CLASSES_ROOT, and that also requires admin privs;
  i.e., AFAICT it's impossible for an unprivileged user to accomplish this.
  In the component selection dialog, if the user doesn't have admin privs
  I gray out this new component so the user knows they aren't getting file
  extensions.
After all that, Python installs, the Start Menu entries are OK, it runs
its test suite to completion, and the uninstaller works too.  Only known
problem so far is that the integration with Win2K's Add/Remove subsystem
isn't quite right yet in this irritating case.
2001-07-30 23:06:21 +00:00
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
Mark Hammond 9802255444 Update all projects so Debug builds use "/Zi" instead of "/ZI", which means everything should still build under MSVC5
NOTE:  All these projects had messed-up line endings (but MSVC didnt mind).  Executing a diff with "--ignore-all-space" will show the specific changes, but I made a complete checkin with correct line endiings as it is the correct thing to do!
2000-07-01 03:12:59 +00:00
Tim Peters 610a827b13 Repaired two URLs. 2000-07-01 02:51:23 +00:00
Tim Peters 4b5fb0772e Update for 2.0b1. Also add more text, to be more explicit about
what the dozen+ subprojects are for, which are and aren't
expected to build out of the box, and what else is needed to get
them all to build.  Also explained that Alpha configurations
don't refer to pre-beta, but to the Alpha processor!  That's
baffled me for years <0.7 wink>.
2000-07-01 00:03:43 +00:00
Guido van Rossum 8173d99eec Add back a missing CRLF line ending. 2000-06-30 20:30:03 +00:00
Guido van Rossum ed2bf9c880 Oops.
- The Tcl minor version should be 3 -- we're now using 8.3.1.
- Remove the version number from yet another Tcl source file.

Note that Tcl should be installed in C:\src\tcl for this to work.
2000-06-30 14:55:26 +00:00
Guido van Rossum cce79a1582 Poke and hope for Tcl version: now settable through _TCLMINOR_
variable...
2000-06-30 14:50:52 +00:00
Jeremy Hylton fa01bf15b4 add gcmodule 2000-06-30 14:38:41 +00:00
Guido van Rossum b3c66be8a9 Change the include etc paths to Tcl 8.3.1. 2000-06-30 14:33:47 +00:00
Guido van Rossum a1956e2f26 Move Wise install dir consistently to C:\Wise. Don't use %_WISE_% in
include, it doesn't seem to work.
2000-06-30 14:30:28 +00:00
Guido van Rossum f00562a962 Poke and hope for Tim...
(Change title to beta 1, change a few paths for typical Win98 setup.)
2000-06-30 14:20:19 +00:00
Guido van Rossum 3afe36d63f More 2.0 stuff -- fix workspace, remove 1.6 files 2000-06-30 14:04:10 +00:00
Tim Peters c155f828fa Making a tiny change to figure out what I'm going to screw up
by trying to use CVS under Windows at all ...
2000-06-30 09:04:35 +00:00
Jeremy Hylton c5007aa5c3 final patches from Neil Schemenauer for garbage collection 2000-06-30 05:02:53 +00:00
Guido van Rossum e4aa4ca698 Bump version to 2.0. 2000-06-29 22:32:08 +00:00
Fred Drake ee8c418408 Finish converting the winreg extension to _winreg. 2000-06-29 16:43:49 +00:00
Marc-André Lemburg 5782386268 Marc-Andre Lemburg <mal@lemburg.com>:
MSVC project file for the new module ucnhash. This may have to
be added to pcbuild.dsw with an dependancy on python16.

By Bill Tutt.
2000-06-28 16:40:10 +00:00
Trent Mick 3f3ce04b1b correct case in python16.dsp to allow build with VS6 2000-06-06 23:29:09 +00:00
Jeremy Hylton 8f14b7cd94 make sure the case is correct (damned case-sensitive languages :-) 2000-06-02 02:41:47 +00:00
Jeremy Hylton 0292d78e91 add new Python/exceptions.c to python16 project (courtesy Trent Mick) 2000-06-01 15:47:08 +00:00
Guido van Rossum 26af93cf35 The debug settings for zlib contained a bogus reference to msvcrt in
the /nodefaultlib: option.
2000-05-02 12:44:22 +00:00
Guido van Rossum c35a20ed1e Mark Hammond: Added dependency of winsound project on python16
project.  [However I didn't add the other changes in his patch, which
were just taking away the source code control stuff -- this doesn't
hurt and would come back as soon as I make another change. --GvR]
2000-04-25 03:24:06 +00:00
Guido van Rossum 1d8fcdacea Oops -- Mark forgot to add "0x" to the /base: argument. 2000-04-24 14:17:17 +00:00
Guido van Rossum 841c2f6b09 Changes by Mark Hammond to ignore more by-products of the build. 2000-04-24 13:32:05 +00:00
Guido van Rossum 6dd9fc1a2c Added winsound project to workspace, and added -I options to winsound 2000-04-21 21:43:40 +00:00
Guido van Rossum 7053b8a422 Mark Hammond:
* Temp directory for all projects are now specific to the project
(rather than common as before).  This avoids any conflicts with
debug symbols or common file names etc.
NOTE: You should manually delete your existing build directory after
applying this patch, as the MSVC "clean" command will now only clean
the new temporary directories - not the existing common temp
directory.

* Base address for all extension modules updated. PC\dllbase_nt.txt
also updated.  Erroneous "libpath" directory removed for all
projects.

* winsound module moved from a builtin module to an extension
module.  This was done primarily to avoid Python16.dll needing to
pull in winmm.dll.  Really dumb test added for winsound - but if
nothing else it ensures the module imports.
2000-04-21 21:26:08 +00:00
Guido van Rossum a901f8fd4d Install the docs (with fewer rules).
Add descriptions for the system variables.
2000-04-10 19:36:27 +00:00
Guido van Rossum 4dfcd766c6 Added project dependencies -- Mark is right, these are needed. 2000-04-10 17:56:36 +00:00
Guido van Rossum 6d2332d376 Strangely, we *do* need to define ZLIB_DLL.
Do it in the project file rather than in the source,
so it's easier for Mark to change.
2000-04-10 17:52:44 +00:00
Guido van Rossum b1b3096a54 Moved socket, select, unicodedata to their own PYD. This should
reduce the size of python16.dll to almost its 1.5.2 size, and remove
dependencies on winsock unless sockets are actually used.

Note that soundex is simply no longer supported.
2000-04-06 14:46:40 +00:00
Guido van Rossum 4cb8c0b1b4 Add msvcrt to list of libraries to ignore in Debug mode. 2000-04-06 13:19:43 +00:00
Guido van Rossum 457855a5f0 Forgot to save the project file -- this also reflects the use of
Tcl/Tk 8.2 instead of 8.3, because 8.3.0 often crashes on closing a
window.
2000-04-05 18:25:12 +00:00
Guido van Rossum a5b09373d8 Lots of cleanup things.
Added the bitmaps back, and added the wizard style program group
selection dialog.

Got rid of references to backup etc. inserted by the installer wizard
-- we don't use these.

Got rid of conditionals for Windows 3.1, ditto.

Changed version to 1.6a2.

Changed default install directory to "C:\Python16" (not really, but close).

Install only one copy of python16.lib.

Install the two MS DLLs (versioned) and python16.dll (unversioned) in
the system directory.

Install Tcl/Tk and expat in the DLLs directory.
2000-04-05 16:33:30 +00:00
Guido van Rossum 7025599f3d Adding pyexpat project. 2000-03-31 16:15:51 +00:00
Guido van Rossum e042dc4583 Buncha last-minute fixes 2000-03-31 15:51:09 +00:00
Guido van Rossum 5fc4e20fee Added _sre project to workspace. 2000-03-31 15:10:30 +00:00
Guido van Rossum 43da798b42 Bit of cleanup on the projects.
Some refinements on the Wise file, also adding mmap.pyd.
2000-03-31 01:33:07 +00:00
Guido van Rossum a7937e57f3 Added mmap project. (Mark Hammond.) 2000-03-31 01:17:42 +00:00
Guido van Rossum 8c4cba8ef2 Mark Hammond: ensure the new standard module winreg is installed. 2000-03-30 22:44:50 +00:00
Guido van Rossum c06653f567 Internal changes. 2000-03-30 21:27:30 +00:00
Guido van Rossum fb515f892f Added Tcl 8.3.
Building on Windows NT.
Removed Tcl installation.
Commented out Doc installation.
2000-03-30 21:27:11 +00:00
Guido van Rossum 426e39f2c2 Deleting Python 1.5 project and Wise file. 2000-03-30 21:22:08 +00:00
Guido van Rossum 15a57a7cad Update for creating and linking with python16.dll.
Also, _tkinter is linked with Tcl 8.3.
2000-03-29 01:54:24 +00:00
Guido van Rossum a29b3607d4 Updated for Python 1.6 and VC++ 6.0. 2000-03-29 01:51:37 +00:00
Guido van Rossum 09fca8dbbb Mark Hammond: add winreg module as new subproject. 2000-03-28 20:37:33 +00:00
Guido van Rossum 76bd689a8d VC++ project changes to add new Unicode files and modules.
(I did this under VC++ 5.0 -- hope this doesn't break anything.)
2000-03-11 00:13:14 +00:00
Guido van Rossum ef6ceb62bd Same patch (also by Mark Hammond) for this straggler project file as
for the other projects, to move the x86 project names back to what
they were.
2000-02-07 15:29:43 +00:00
Guido van Rossum 4310debbd8 Mark Hammond renames the x86 projects back to what they were named
before the patch by Trent Mick.  Since he now also works for
ActiveState, I suppose he overrides Trent. :-)
2000-02-03 17:19:35 +00:00
Guido van Rossum a4596a4ba5 Trent Mick: Setup PC configuration so that MSDEV chooses the x86
release project config as the default.
2000-01-21 00:03:42 +00:00
Guido van Rossum 72ca1b3536 Changes by Trent Mick (of ActiveState) and Dale Nagata to support
building for NT Alpha as well as NT x86.
2000-01-20 21:31:41 +00:00
Guido van Rossum 5731575449 Added setargv.obj to the link link.
This causes * etc. on the command line to be expanded, link on Unix.
1999-12-20 23:02:41 +00:00
Guido van Rossum 90e0f57cea Add dynload_win.c to project. 1999-12-20 23:00:10 +00:00
Guido van Rossum 72bacaa2c9 Bump version to 1.5.2 (final) 1999-04-13 15:44:49 +00:00
Guido van Rossum 2da1320561 Added shamodule.c 1999-04-13 15:44:21 +00:00
Guido van Rossum 4c6958dde1 Use the Tcl 8.0.5 installer.
Add a variable %_TCL_% that makes it easier to switch to a different version.
1999-04-08 23:13:37 +00:00
Guido van Rossum 6804b7aee0 Release 1.5.2c1. Add IDLE and Uninstall to program group.
Don't distribute zlib.dll.  Tweak some comments.
1999-04-08 20:50:27 +00:00
Guido van Rossum fd498bd48b Now using static zlib 1.1.3 1999-04-08 20:49:11 +00:00
Guido van Rossum 594b3d66bd Some new stuff. Get the HTML docs via a new variable.
Comment out freeze script (doesn't work at all).
Add dialog to get program manager group.
1999-02-17 23:53:35 +00:00
Guido van Rossum 0b07035249 Add source file winsound.c and library winmm.lib 1999-02-16 19:56:27 +00:00
Guido van Rossum caa0606471 Upgraded to WISE 5.0g; bumped to 1.5.2b2; added dialog for Tcl. 1999-01-05 14:10:29 +00:00
Guido van Rossum 45d2ae5161 Use installed Tcl lib files -- also for Debug configuration 1998-12-22 21:43:35 +00:00
Guido van Rossum 7aa9f582f4 Use installed Tcl lib files 1998-12-22 21:18:40 +00:00
Guido van Rossum 66419bafc6 Added Tcl 8.0.4 installer. Added Tools/idle. 1998-12-22 18:45:16 +00:00
Guido van Rossum 44331ec9e0 Get rid of python_nt.def -- it's no longer needed! 1998-12-21 20:44:53 +00:00
Guido van Rossum d9eee4ee0c Bump version to 1.5.2b1 1998-10-24 19:45:43 +00:00
Guido van Rossum 1d5766fd1a Shit -- forgot to set the installer's title to the new version. 1998-10-09 02:30:23 +00:00
Guido van Rossum 60009ccc05 Change _tkinter.c compile options. 1998-10-09 02:03:49 +00:00
Guido van Rossum 002156d130 Add bufferobject.c. 1998-10-09 02:03:00 +00:00
Guido van Rossum 7e1e57494c For 1.5.2a2.
Install zlib.dll in DLLs instead of windows32 system directory.
Install freeze, webchecker and versioncheck tools.
Add Content type: text/plain registry keys for .py, .pyw.
Add file type .pyo (same as .pyc).
1998-10-08 01:50:47 +00:00
Guido van Rossum f6240cf372 Some kind of source control krept in. 1998-10-08 01:48:13 +00:00
Guido van Rossum 98f936b5d4 Whatever 1998-10-08 01:46:52 +00:00
Guido van Rossum ca69cf581d Insignificant change cause by saving again. 1998-08-13 18:54:51 +00:00
Guido van Rossum 887d072cc0 Get rid of mysterious bsddb.txt. 1998-08-12 02:31:42 +00:00
Guido van Rossum b034e1e2ff Delete CurrentVersion instead of setting it. 1998-08-12 01:55:26 +00:00
Guido van Rossum 5bf2864fc0 Added dependencies between projects. 1998-08-12 01:54:43 +00:00
Guido van Rossum 37ea4107b1 # New version; not clear what happened. 1998-08-08 23:48:26 +00:00
Guido van Rossum 7fb668866d Get rid of python15.lib; add some incl files 1998-08-08 21:04:19 +00:00
Guido van Rossum b58dff553b Play games with version numbers; add lib-tk to path. 1998-08-08 20:11:02 +00:00
Guido van Rossum f4edff022c More files to be ignored. 1998-08-08 20:07:20 +00:00
Guido van Rossum 78f6583c7c Put the CRLF back in. 1998-08-06 04:23:56 +00:00
Guido van Rossum 0f586dacc0 Put the CRLF back in. 1998-08-06 04:18:38 +00:00
Guido van Rossum 844ea7beab New project files... 1998-08-06 04:04:46 +00:00
Guido van Rossum 0fd9408c40 Needed. 1998-07-08 02:56:20 +00:00
Guido van Rossum e79cf323c7 Added hints about building your own DLL. 1998-07-07 22:35:03 +00:00
Guido van Rossum 3600beefea Moved from PC 1998-05-29 02:32:57 +00:00
Guido van Rossum 15b239f785 Moved VC++ 5.x stuff here. 1998-05-26 14:16:23 +00:00
Guido van Rossum 4a78a3cf3b Added empty PCbuild directory for use by the NT build process. 1997-09-03 15:37:50 +00:00