• Jérome Perrin's avatar
    downloadunpacked: fix setuptools import · 514a4483
    Jérome Perrin authored
    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
    514a4483
downloadunpacked.py 7.66 KB