Hi,
Barry Warsaw wrote:
I can think of a couple of things you could do instead.
* Run `python2 /usr/bin/tox -e docs`
* Add a `basepython=python2` to the [docs] section of your tox.ini
Would either one of those work? I'd really like to leave /usr/bin/tox as a
Python 3 script by default, and I'd like to not ship a /usr/bin/tox-py2 or
however we'd spell that.
I could not get any of these working.
For instance, `python2 /usr/bin/tox` gives:
Traceback (most recent call last):
File "/usr/bin/tox", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876,
in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 449,
in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 745,
in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639,
in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: tox==1.8.0
Maybe this is because there's no python2 modules installed (i.e.
`python2 -c 'import tox'` fails).
Cheers,
Denis.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org