tox-backticks allows use of backticks within setenv to run commands to populate environment variables that can then be accessed using {env:var}
MIT License