diff options
author | Matt Davis <nitzmahone@users.noreply.github.com> | 2020-06-15 16:22:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 16:22:25 -0700 |
commit | de63cba7e88ea509930f8f695fcdc2b2fe61be2a (patch) | |
tree | eed553d33b839e91d1d45b5962438f93181709d0 /lib/ansible/__init__.py | |
parent | 7641d32f8ec0f18722ded8b2bea253a705d3917c (diff) | |
download | ansible-de63cba7e88ea509930f8f695fcdc2b2fe61be2a.tar.gz |
transparent downstream vendoring (#69850)
* builtin downstream vendoring support
* allows downstream packagers to install packages to `ansible/_vendor` that will automatically be added to head of sys.path during `ansible` package load
* tests
* sort conflicting package names in warning text
* sanity fixes
* skip unnecessary comparison
Diffstat (limited to 'lib/ansible/__init__.py')
-rw-r--r-- | lib/ansible/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ansible/__init__.py b/lib/ansible/__init__.py index d8aeac5e58..e4905a1853 100644 --- a/lib/ansible/__init__.py +++ b/lib/ansible/__init__.py @@ -19,6 +19,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type +# make vendored top-level modules accessible EARLY +import ansible._vendor + # Note: Do not add any code to this file. The ansible module may be # a namespace package when using Ansible-2.1+ Anything in this file may not be # available if one of the other packages in the namespace is loaded first. |