Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ee826f88
Commit
ee826f88
authored
Jan 31, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for new Windows zlib build procedure.
parent
ae8c268a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
15 deletions
+18
-15
Misc/NEWS
Misc/NEWS
+6
-1
Modules/zlibmodule.c
Modules/zlibmodule.c
+1
-8
PCbuild/readme.txt
PCbuild/readme.txt
+11
-6
No files found.
Misc/NEWS
View file @
ee826f88
...
...
@@ -13,7 +13,6 @@ Core language, builtins, and interpreter
- Functions are now compared and hashed by identity, not by value, since
the func_code attribute is writable.
Standard library
- random.py is now self-contained, and offers all the functionality of
...
...
@@ -26,6 +25,12 @@ Standard library
each thread, then using .jumpahead() to force each instance to use a
non-overlapping segment of the full period.
Windows changes
- Build procedure: the zlib project is built in a different way that
ensures the zlib header files used can no longer get out of synch with
the zlib binary used. See PCbuild\readme.txt for details.
What's New in Python 2.1 alpha 1?
=================================
...
...
Modules/zlibmodule.c
View file @
ee826f88
/* zlibmodule.c -- gzip-compatible data compression */
/* See http://www.info-zip.org/pub/infozip/zlib/ */
/* *** Notes for Windows Users ***
* Download the source distribution as referenced above.
* Unpack the distribution such that a "..\..\zlib-1.1.3" directory is created
relative to the "pcbuild" directory.
* Build this "zlib" project. Via from MSVC magic, the correct zlib makefile will
be run, and "..\..\zlib-1.1.3\zlib.lib" will be built before zlib.pyd.
*** End of notes for Windows users ***
*/
/* Windows users: read Python's PCbuild\readme.txt */
#include "Python.h"
...
...
PCbuild/readme.txt
View file @
ee826f88
...
...
@@ -69,12 +69,17 @@ _tkinter
Be sure to install everything, including the Tcl/Tk header files.
zlib
Python wrapper for the zlib compression library. Requires
http://www.winimage.com/zLibDll/zlib133dll.zip
and
ftp://ftp.uu.net/graphics/png/src/zlib133.zip
Unpack the former into dist\zlib113dll.
Uppack the latter into dist\zlib113.
NOTE: This procedure is new (& simpler, & safer) for 2.1a2.
Python wrapper for the zlib compression library. Get the source code
for version 1.1.3 from a convenient mirror at:
http://www.info-zip.org/pub/infozip/zlib/
Unpack into dist\zlib-1.1.3.
A custom pre-link step in the zlib project settings should manage to
build zlib-1.1.3\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is
linked in PCbuild\.
However, the zlib project is not smart enough to remove anything under
zlib-1.1.3\ when you do a clean, so if you want to rebuild zlib.lib
you need to clean up zlib-1.1.3\ by hand.
bsddb
Python wrapper for the BSD database 1.85. Requires db.1.85.win32.zip,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment