From 3da6bc41696ce67a16b34a6caeb64aa66599245a Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 1 Nov 2019 18:02:21 +0100 Subject: [PATCH 1/2] Using pip install -t had also compiled pyc files for the local platform --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2d33ce9897..28a45611d6 100644 --- a/Makefile +++ b/Makefile @@ -117,13 +117,13 @@ sdist: clean docs assets python setup.py sdist --formats=$(format) --static python setup.py sdist --formats=$(format) -dist: clean docs assets +dist: clean docs assets # Building assets currently creates pyc files in the source dirs, # so we should delete those... make clean-pyc python setup.py sdist --formats=$(format) python setup.py bdist_wheel - pip install -t kalite/packages/dist -r "requirements.txt" + pip install -t kalite/packages/dist -r "requirements.txt" --no-compile rm -rf kalite/packages/dist/*.dist-info # pip installs from PyPI will complain if we have more than one dist-info directory. rm -r kalite/packages/dist/man kolibri/dist/bin || true # remove the two folders introduced by pip 10 python setup.py sdist --formats=$(format) --static From 5184c7cf2b776d2526d667c7364620bb46303b50 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 1 Nov 2019 18:04:29 +0100 Subject: [PATCH 2/2] Update release notes --- docs/installguide/release_notes.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installguide/release_notes.rst b/docs/installguide/release_notes.rst index 8f167c3a86..6964b2c8ae 100644 --- a/docs/installguide/release_notes.rst +++ b/docs/installguide/release_notes.rst @@ -14,8 +14,10 @@ to read the release notes. Bug fixes ^^^^^^^^^ +* Remove *pyc files in ka-lite-static (affected 0.17.5 release) * Fix rare ``GEOSException`` on systems with libgeos :url-issue:`5592` + 0.17.5 ------