Commit 5ef57d6f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! build: Remove downloaded files at the end.

parent a2599788
Changes Changes
======= =======
0.15 (2014-11-28)
-----------------
* build: Fixup! Remove downloaded files at the end.
0.14 (2014-10-23) 0.14 (2014-10-23)
----------------- -----------------
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = '0.14' version = '0.15'
name = 'slapos.recipe.build' name = 'slapos.recipe.build'
long_description = open("README.rst").read() + "\n" + \ long_description = open("README.rst").read() + "\n" + \
open("CHANGES.txt").read() + "\n" open("CHANGES.txt").read() + "\n"
......
...@@ -188,7 +188,8 @@ class Script: ...@@ -188,7 +188,8 @@ class Script:
download = zc.buildout.download.Download(self.buildout['buildout'], download = zc.buildout.download.Download(self.buildout['buildout'],
hash_name=True, cache=self.buildout['buildout'].get('download-cache')) hash_name=True, cache=self.buildout['buildout'].get('download-cache'))
path, is_temp = download(url, md5sum=md5sum) path, is_temp = download(url, md5sum=md5sum)
self.cleanup_file_list.append(path) if is_temp:
self.cleanup_file_list.append(path)
return path return path
def extract(self, path): def extract(self, path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment