This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Install the Python module `ansible` into the usual prefix, but use `python.private_site_packages` (in `libexec`) for the deps. - In oder for the `ansible` module to be useful, the deps are needed and we insert the `python.private_site_packages` in the `ansible/__init__.py` as a `sitedir`, to the `egg`s are working. - Rewrote the `bin_wrapper` to be ready to be moved into `python_helper` or something. - With the brand new changes in the PythonInstalled dependency, it is not necessary to set the `PYTHONPATH` if you want to use the `python.private_site_packages` inside of the `libexec`. However, you have to put the calls to `system python` inside of a `python do … end` block (technical limitation of supporting Python 2.x and 3.x in general).
- Loading branch information
1 parent
0c847bb
commit 2058d5c
Showing
1 changed file
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters