From 988dc72ba15f1485424b89a9a24b58b4ef71173d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 17 Jun 2016 15:42:27 +0200 Subject: [PATCH] Use Sybren's fork of CacheControl to fix caching issue. We need my clone until pull request #125 has been merged & released. See https://github.com/ionrock/cachecontrol/pull/125 for more info. --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4a96641..4a18089 100755 --- a/setup.py +++ b/setup.py @@ -83,9 +83,13 @@ class BuildWheels(Command): # Build CacheControl. if not list(self.wheels_path.glob('CacheControl*.whl')): log.info('Building CacheControl in %s', self.cachecontrol_path) + # self.git_clone(self.cachecontrol_path, + # 'https://github.com/ionrock/cachecontrol.git', + # 'v%s' % requirements['CacheControl'][1]) + # FIXME: we need my clone until pull request #125 has been merged & released self.git_clone(self.cachecontrol_path, - 'https://github.com/ionrock/cachecontrol.git', - 'v%s' % requirements['CacheControl'][1]) + 'https://github.com/sybrenstuvel/cachecontrol.git', + 'sybren-filecache-delete-crash-fix') self.build_copy_wheel(self.cachecontrol_path) # Ensure that the wheels are added to the data files.