diff options
author | scoder <stefan_ml@behnel.de> | 2017-02-11 07:55:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 07:55:11 +0100 |
commit | d8a645a0256a57658f976acdc56f0680d036f66c (patch) | |
tree | 302694fc661ca65fd45e3bdaf6258ca9670d9be0 | |
parent | 1e90a6bb4f86fe2434a08319f9725f3bf2a4b921 (diff) | |
parent | e644b5645e0a826e3821e152707c4b2775d1c95e (diff) | |
download | python-lxml-d8a645a0256a57658f976acdc56f0680d036f66c.tar.gz |
Merge pull request #223 from TBBle/appveyor
Fix AppVeyor builds for Windows
-rw-r--r-- | .appveyor.yml | 5 | ||||
-rw-r--r-- | buildlibxml.py | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index b0127f6d..14db6875 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,12 +11,15 @@ environment: install: - cmd: >- SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH% + python -m pip install -U pip wheel setuptools - pip install -r requirements.txt + + pip install -r requirements.txt --install-option="--no-cython-compile" build_script: - cmd: >- python -u setup.py clean + python -u setup.py bdist_wheel --static-deps test_script: diff --git a/buildlibxml.py b/buildlibxml.py index bbdf62b0..5b32034c 100644 --- a/buildlibxml.py +++ b/buildlibxml.py @@ -57,6 +57,7 @@ def download_and_extract_zlatkovic_binaries(destdir): srcfile = urljoin(url, libfn) destfile = os.path.join(destdir, libfn) print('Retrieving "%s" to "%s"' % (srcfile, destfile)) + urlcleanup() # work around FTP bug 27973 in Py2.7.12+ urlretrieve(srcfile, destfile) d = unpack_zipfile(destfile, destdir) libs[libname] = d |