This pull request includes several changes across multiple files to improve the configuration and post-installation process, particularly for handling Python paths and linking issues on different platforms.
Configuration Improvements:
oxt/___lo_pip___/config.py: Introduced the get_path_default method to determine the Python executable path more reliably in embedded environments and added logging for the Python path. [1][2]
Post-Installation Enhancements:
oxt/py_runner.py: Updated the _post_install method to include additional checks for linking needs based on platform specifics and added more detailed logging.
oxt/___lo_pip___/install/post/cpython_link.py: Changed logger initialization to use the class name and added the get_needs_linking method to determine if linking is required based on the current suffix. [1][2]
Version Bump:
pyproject.toml: Updated the project version from 0.3.0 to 0.3.1.
This pull request includes several changes across multiple files to improve the configuration and post-installation process, particularly for handling Python paths and linking issues on different platforms.
Configuration Improvements:
oxt/___lo_pip___/config.py
: Introduced theget_path_default
method to determine the Python executable path more reliably in embedded environments and added logging for the Python path. [1] [2]Post-Installation Enhancements:
oxt/py_runner.py
: Updated the_post_install
method to include additional checks for linking needs based on platform specifics and added more detailed logging.oxt/pythonpath/libre_pythonista_lib/py_pip/install_pip_pkg.py
: Similar updates to the_post_install
method to handle platform-specific linking requirements and enhanced logging.Logger and Method Adjustments:
oxt/___lo_pip___/install/post/cpython_link.py
: Changed logger initialization to use the class name and added theget_needs_linking
method to determine if linking is required based on the current suffix. [1] [2]Version Bump:
pyproject.toml
: Updated the project version from0.3.0
to0.3.1
.