zlib-1.2.5.win32.zip top level dir is not the expected zlib-1.2.5.win32 but instead zlib-1.2.5 making buildlibxml.py fail on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Medium
|
Unassigned |
Bug Description
ftp://ftp.
Note that FWIW, I know there are prebuilt bdists, but I need to control exactly the lxml build from sdist at least. And I have VC++ setup alright (as well as mingw if needed)
(lxml) c:\tmp\lxml>pip install lxml
Downloading/
Downloading lxml-3.2.3.tar.gz (3.3MB): 3.3MB downloaded
Running setup.py egg_info for package lxml
Building lxml version 3.2.3.
Retrieving "ftp://ftp.
Unpacking libxslt-
Retrieving "ftp://ftp.
Unpacking iconv-1.
Retrieving "ftp://ftp.
Unpacking zlib-1.
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "c:\tmp\
File "c:\tmp\
File "setupinfo.py", line 48, in ext_modules
File "buildlibxml.py", line 67, in get_prebuilt_
libs = download_
File "buildlibxml.py", line 47, in download_
d = unpack_
File "buildlibxml.py", line 62, in unpack_zipfile
assert os.path.
AssertionError: missing: libs\zlib-
Complete output from command python setup.py egg_info:
Building lxml version 3.2.3.
Retrieving "ftp://ftp.
Unpacking libxslt-
Retrieving "ftp://ftp.
Unpacking iconv-1.
Retrieving "ftp://ftp.
Unpacking zlib-1.
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "c:\tmp\
**setup_
File "c:\tmp\
STATIC_CFLAGS, STATIC_BINARIES)
File "setupinfo.py", line 48, in ext_modules
OPTION_
File "buildlibxml.py", line 67, in get_prebuilt_
libs = download_
File "buildlibxml.py", line 47, in download_
d = unpack_
File "buildlibxml.py", line 62, in unpack_zipfile
assert os.path.
AssertionError: missing: libs\zlib-
-------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\tmp\
Storing complete log in C:\Users\
I'd be happy about a pull request that fixes it without breaking the existing 'normal' case.