From b0da4c1bc042c0e4a8cdecdb38ecd13ddf5f7e30 Mon Sep 17 00:00:00 2001 From: "Paul \"TBBle\" Hampson" Date: Sat, 11 Feb 2017 02:38:10 +1100 Subject: Insert missing newlines in AppVeyor scripts Without the newlines, the command sequence is wrapped back into one line. --- .appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index b0127f6d..084ae405 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 build_script: - cmd: >- python -u setup.py clean + python -u setup.py bdist_wheel --static-deps test_script: -- cgit v1.2.1 From 3f303009048a1558e58472e02f42fa3b5fb82fc1 Mon Sep 17 00:00:00 2001 From: "Paul \"TBBle\" Hampson" Date: Sat, 11 Feb 2017 03:10:57 +1100 Subject: Apply Python FTP download workaround to Win32 libs See d0125dc and https://bugs.python.org/issue27973 --- buildlibxml.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1 From e644b5645e0a826e3821e152707c4b2775d1c95e Mon Sep 17 00:00:00 2001 From: "Paul \"TBBle\" Hampson" Date: Sat, 11 Feb 2017 03:44:56 +1100 Subject: Don't compile Cython from source on AppVeyor Per https://pypi.python.org/pypi/Cython, when a platform doesn't have a wheel, it's better for CI systems to use an uncompiled version. --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 084ae405..14db6875 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -14,7 +14,7 @@ install: 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: >- -- cgit v1.2.1