* Update paths to match relocated files. * Update ansible-test symlink paths. * Update path classification. * Update MANIFEST.in * Update sanity test context paths. * Update sanity ignores. * Update shebang sanity test. * Update configure-remoting-ps1 sanity test. * Update BOTMETA.yml to reflect new paths. * Update paths in collection loader comments. * Update Makefile for ansible-test. * Update docs. * Add changelog fragment.
16 lines
376 B
Python
Executable File
16 lines
376 B
Python
Executable File
#!/usr/bin/env python
|
|
"""Detect the real python interpreter when running in a virtual environment created by the 'virtualenv' module."""
|
|
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
import json
|
|
|
|
try:
|
|
from sys import real_prefix
|
|
except ImportError:
|
|
real_prefix = None
|
|
|
|
print(json.dumps(dict(
|
|
real_prefix=real_prefix,
|
|
)))
|