Commit 514a4483 authored by Jérome Perrin's avatar Jérome Perrin Committed by Rafael Monnerat

downloadunpacked: fix setuptools import

setuptools.archive_util is not available unless setuptools.archive_util
have been imported before.

For example:
```python
>>> import setuptools
>>> setuptools.archive_util
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'archive_util'
>>> import setuptools.archive_util
>>> setuptools.archive_util
<module 'setuptools.archive_util' from '/usr/local/lib/python2.7/dist-packages/setuptools/archive_util.pyc'>
```

/reviewed-on nexedi/slapos.recipe.build!3
parent 45bf74d8
......@@ -31,7 +31,7 @@ import subprocess
import tarfile
import zc.buildout
import tempfile
import setuptools
import setuptools.archive_util
is_true = ('false', 'true').index
......
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