I am trying to use pip2tgz to build a pipPI compatible package for installation on a non-connected machine. I am working from a python 2.7. virtual env and have verified that pip2tgz is running from it. When I attempt to add, e.g., south the package, pip2tgz downloads the file South-0.8.4-py2.py3-none-any.whl. dir2pi does not index that file and, on the target machine, when I attempt to install south, I get the error message:
OSError: [Errno 2] No such file or directory: '/data/www/pkgs/simple/south/'
Is it possible that pip2tgz is not respecting its python version, when it downloads packages? Can I force it to stick to the tgz format?