Commit Graph

298 Commits

Author SHA1 Message Date
Tim Peters 9c2fbb5619 There are two more copyright notices in the Windows world:
PC/python_nt.rc sets up the DLL version resource (displayed when you
right-click on the DLL and select Properties).

PCbuld/python20.wse sets up the installer version resource (displayed
when you right-click on the installer .exe and select Properties).  Turns
out this one hadn't been updated since 2001 <frown>!
2003-01-02 17:09:19 +00:00
Tim Peters bbc5d1674b SF bug 660795: logging missing from Python 2.3a1 for Windows.
Added the logging package.  In the meantime, Neal Norwitz added a
test_logging.py to the std test suite, which would have caught this
oversight in the Windows installer.
2003-01-02 16:02:27 +00:00
Tim Peters 88ad134e36 Merging in changes from r23a1-branch. Doc/makefile had conflicts, which
I leave to Fred to sort out.
2003-01-01 02:14:12 +00:00
Tim Peters 735950b3c0 Bump the Windows build # for 2.3a1. 2002-12-31 02:09:08 +00:00
Just van Rossum 52e14d640b PEP 302 + zipimport:
- new import hooks in import.c, exposed in the sys module
- new module called 'zipimport'
- various changes to allow bootstrapping from zip files

I hope I didn't break the Windows build (or anything else for that
matter), but then again, it's been sitting on sf long enough...

Regarding the latest discussions on python-dev: zipimport sets
pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
/path/to/Archive.zip/subdir/ are supported again.
2002-12-30 22:08:05 +00:00
Raymond Hettinger 4647f5090a Revert the last change. Tim was faster and chose a different route. 2002-12-30 00:40:40 +00:00
Raymond Hettinger a6af477820 Document the _randommodule project for the Windows build. 2002-12-30 00:03:27 +00:00
Tim Peters d1f5ccc75d Taught the Windows build about _randommodule.c. This is compiled
into the core DLL, since it's not much code and lots of stuff uses
it (e.g., try getting a tempfile name without it).
2002-12-29 23:46:40 +00:00
Tim Peters 2a799bf77a datetime escapes the sandbox. The Windows build is all set. I leave it
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).
2002-12-16 20:18:38 +00:00
Tim Peters b4f0a12974 Made the _ssl subproject depend on the w9xpopen subproject, because
build_ssl.py requires os.popen().
2002-12-11 17:50:24 +00:00
Tim Peters 598c210b5a Install the tools/i18n directory on Windows. A user requested it,
Barry agreed, and I see no reason not to.
2002-12-10 19:03:52 +00:00
Tim Peters 21d77f5e9c Added _ssl.lib to the installer too. Restored alphabetical order of
DLL and lib sections.
2002-12-04 04:00:12 +00:00
Tim Peters 6ee68d20b7 Explain what's probably a problem unique to Win9x in building _ssl. 2002-12-04 03:16:37 +00:00
Tim Peters e8bcb25fbd Clarify _ssl instructions. 2002-12-04 02:39:52 +00:00
Mark Hammond 03cb7ee9c5 Don't make all the OpenSSL executables, just the library we need.
Contributed by David Bolen.
2002-12-03 21:00:29 +00:00
Mark Hammond 040b00a9ea Add the SSL libraries as dependencies. 2002-12-03 20:59:46 +00:00
Mark Hammond 4b2030fe0d Ensure the ssl temp directory exists! 2002-12-03 06:29:48 +00:00
Mark Hammond fbac75fc42 Add _ssl.pyd to the list of files to be installed by Wise. 2002-12-03 06:02:59 +00:00
Mark Hammond f229f9f1e7 Add _ssl build process for Windows. 2002-12-03 05:47:26 +00:00
Mark Hammond 4c88773142 My MSVC seems to like writing the project names in quotes. Letting it do
this before I add the _ssl project, so that checkin is cleaner.
2002-12-03 05:39:49 +00:00
Tim Peters 84c7a3f328 Try linking the static Sleepycat lib into _bsddb.pyd. Hard to say
whether this is a correct thing to do:

+ There are linker warnings (see PCbuild\readme.txt).
+ test_bsddb passes, in both release and debug builds now.
+ test_bsddb3 has several failures, but it did before too.

Also made pythoncore a dependency of the _bsddb project, updated
build instructions, added database conversion XXX to NEWS, and fiddled
the Windows installer accordingly.
2002-11-23 18:48:06 +00:00
Tim Peters 19cf4ee69d More bsddb-on-Windows fiddling:
+ News blurb, but as much XXX as news.
+ Updated installer (install the new bsddb package, and the Berkeley DLL;
  still don't know how to fold that into _bsddb.pyd).
+ Fleshed out build instructions.
+ Debug Python still blows up.
2002-11-23 03:49:08 +00:00
Tim Peters 78e35f9311 Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now.  If
anyone can address an XXX comment or two in readme.txt, please do!
2002-11-22 20:00:34 +00:00
Tim Peters a406b58619 Renamed Wise vrbl from _TCLMINOR_ to _TCLDIR_, to remove any script
dependence on the Tcl/Tk version number.  Now you point it at the
Tcl/Tk install you want to ship, and that's what it ships.
2002-11-19 17:38:27 +00:00
Tim Peters 6c629957fd Repaired typos in the Tcl/Tk compilation instructions. Turns out they
work on Win98SE too (yay!).
2002-11-15 18:36:11 +00:00
Tim Peters 077736b96b Windows changes to move from Tcl/Tk 8.3.2 to 8.4.1. I tested this by
running IDLE, and since I'm not a Tcl Guy I'm not sure what else to do.
Up to you!  See XXX comments in PCbuild\readme.txt for cautions.

Also repaired typos in the new bz2-for-Windows instructions.
2002-11-14 23:24:40 +00:00
Tim Peters 84fcd92461 Install the bz2 DLL on Windows. 2002-11-09 08:24:58 +00:00
Tim Peters b0ead4ea4a Start building the bz2 module on Windows.
CAUTION:  The Python test still has many failures, but I'm out of time
for this now (already took much longer than hoped to get this far).
The base bz2 library does pass its own tests (see next).

CAUTION:  People building on Windows have to download and build tne
bz2 compression libraries now.  See PCbuild\readme.txt for complete
instructions.
2002-11-09 04:48:58 +00:00
Tim Peters 19697bc355 Update list of Windows buildnos for 2.2.2 final. 2002-10-14 15:01:44 +00:00
Tim Peters c78462fb94 The MS resource compiler simply cannot be convinced to do arithmetic
correctly.  So field3.py is a Python program that can.  This injects
another manual step into the Python release process for Windows; so
it goes.
2002-10-11 18:25:52 +00:00
Tim Peters 638a1e2dc1 Update info for impending 2.2.2. 2002-10-06 04:04:46 +00:00
Guido van Rossum fb1db4cda1 Add -E and -tt options to the python invocations, as for the Unix tests.
The -tt means modules that mix tabs and spaces will be rejected.
The -E refuses to believe Python options in the environment.
2002-08-07 19:06:27 +00:00
Tim Peters 78e30fb32c Taught the Windows installer about changes in the structure of the email
package, and the loss of the test/data directory.
2002-07-23 19:56:30 +00:00
Mark Hammond 62b1ab1b31 Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds.  This should allow MSVC to import and
build the Python MSVC6 project files without error.
2002-07-23 06:31:15 +00:00
Tim Peters 3e2d18be3f Removed no-longer-relevant explanation of "alpha" builds. 2002-07-10 17:05:14 +00:00
Mark Hammond 478fdb0bbc Remove the unused, and therefore distracting, "Alpha" build configurations. 2002-07-10 06:22:10 +00:00
Tim Peters 0add0e86c7 Removed newmodule.c from the project, and removed references to it from
the Windowish builds.
2002-06-16 01:34:49 +00:00
Tim Peters 11e104f519 Unsure exactly why I'm doing this, but I couldn't build a debug-mode
Python on Windows without it.
2002-06-15 04:58:17 +00:00
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable.
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
2002-06-14 20:41:17 +00:00
Tim Peters 73364e64e5 Teach the Windows build about the new enumobject.c file. 2002-04-26 21:20:02 +00:00
Tim Peters 08e7295ef8 Windows installer: disabled Wise's "delete in-use files" uninstall
option.  It was the cause of at least one way UNWISE.EXE could vanish
(install a python; uninstall it; install it again; reboot the machine;
abracadabra the uinstaller is gone).

Bugfix candidate, but I'll backport it myself.
2002-04-16 20:48:01 +00:00
Tim Peters 46cd7948ca Repair 2.2.1 release date. 2002-04-09 21:18:37 +00:00
Tim Peters 6cca2f48ed Change 2.1.3 release date. 2002-04-08 18:47:34 +00:00
Tim Peters 11c5d7259f Update 2.1.3 Windows buildno. 2002-04-08 18:00:26 +00:00
Tim Peters 2f486b7fa6 Record Windows build number for 2.2.1 final. 2002-04-04 21:49:08 +00:00
Tim Peters 3318792e5f SF bug 497854: Short-cuts missing for All Users
Fix Windows-specific install glitch.  Tested on Win2K, but I can't test
on XP.
Already checked in to the release22-maint branch.
2002-04-04 20:02:04 +00:00
Guido van Rossum 2e1c09c1fd Removed old Digital Creations copyright/license notices (with
permission from Paul Everitt).  Also removed a few other references to
Digital Creations and changed the remaining ones to Zope Corporation.
2002-04-04 17:52:50 +00:00
Tim Peters b5080abbbe Repair the Windows build (needs to compile in the new boolobject code). 2002-04-04 00:02:02 +00:00
Tim Peters 6a1e76b2bd Update master Windows build-number list for 2.2.1c2. 2002-03-25 19:35:58 +00:00
Tim Peters 1221c0a435 Build obmalloc.c directly instead of #include'ing from object.c.
Also move all _PyMalloc_XXX entry points into obmalloc.c.

The Windows build works fine.
The Unix build is changed here (Makefile.pre.in), but not tested.
No other platform's build process has been fiddled.
2002-03-23 00:20:15 +00:00