mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-25 17:46:14 +01:00
2e513fe88f
Virtualenv 20.0 follows symlinks when populating sys.executable, so we can't use it. (AFAIUI it's done to better handle cases where the system executable is changed after a virtualenv is created.) See: https://github.com/pypa/virtualenv/pull/1522 sys.exec_prefix still points to inside the virtualenv, so use that in the tests to determine what's being run.
10 lines
170 B
INI
10 lines
170 B
INI
[tox]
|
|
envlist = py36,py37,py38
|
|
|
|
[testenv]
|
|
deps =
|
|
six
|
|
py
|
|
commands =
|
|
python -c 'import os, sys; print(os.path.realpath(sys.exec_prefix), "is the exec_prefix")'
|