Hi John, thanks for replying. I made a setup.py in my current
working dir and it works well in a normal virtualenv, but when i run
pex with the same options before + -vvv and -s . I get this:
pex: Resolving distributions :: Fetching
file:.../appname-0.1.tar.gz
Packaging appname :: **** Failed to install appname. stdout:
**** Failed to install appname-0.1. stderr:
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
pex: Failed to install package at /tmp/tmp8sdew89_/appname-0.1:
Traceback (most recent call last):
File "/usr/bin/pex", line 11, in <module>
sys.exit(main())
File "/usr/lib/python3.4/site-
packages/pex/bin/pex.py", line 325,
in main
pex_builder = build_pex(args, options)
File "/usr/lib/python3.4/site-packages/pex/bin/pex.py", line 303,
in build_pex
cache_ttl=options.cache_ttl)
File "/usr/lib/python3.4/site-packages/pex/resolver.py", line 229,
in resolve
new_requirements.update(requires(highest_package, requirement))
File "/usr/lib/python3.4/site-packages/pex/resolver.py", line 201,
in requires
raise Untranslateable('Package %s is not translateable.' %
package)
pex.resolver.Untranslateable: Package
SourcePackage('
file:///.../appname-0.1.tar.gz') is not
translateable.
It happens with and without --no-wheel