https://pantsbuild.org/ logo
#general
Title
# general
g

gifted-beard-62952

04/04/2017, 9:03 PM
Thanks for the info... i decided to go the pants way and build using pex. After fixing my targets, here's what i get:
Copy code
No cached artifacts for 1 target.
                   Invalidated 1 target.**** Failed to install setuptools-5.4.1 (caused by: NonZeroExit("received exit code 1 during execution of `[u'/home/rakan/.pyenv/shims/python', '-', 'bdist_egg', '--dist-dir=/tmp/tmpjNHG0C']`",)
):
stdout:

stderr:
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "setup.py", line 19, in <module>
    exec(init_file.read(), command_ns)
  File "<string>", line 11, in <module>
  File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/__init__.py", line 12, in <module>
    from setuptools.extension import Extension
  File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/extension.py", line 7, in <module>
    from setuptools.dist import _get_unpatched
  File "/tmp/tmpvrR5qX/setuptools-5.4.1/setuptools/dist.py", line 18, in <module>
    import pkg_resources
  File "/tmp/tmpvrR5qX/setuptools-5.4.1/pkg_resources.py", line 1520, in <module>
    register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'



23:01:33 00:02   [complete]
               FAILURE
Exception caught: (<class 'pex.resolver.Untranslateable'>)

Exception message: Package SourcePackage(u'<https://pypi.python.org/packages/cb/55/4143b8a178e17c39c246d95dd0620e8c26c699ffc5267eb5d444b6b2429a/setuptools-5.4.1.tar.gz#md5=3540a44b90017cbb851840934156848e>') is not translateable by ChainedTranslator(EggTranslator, SourceTranslator)