pypi#

Reads PyPI packages in a conda prefix that have been installed with non-conda tools.

Functions#

load_site_packages(→ dict[str, ...)

Load non-conda-installed python packages in the site-packages of the prefix.

get_conda_anchor_files_and_records(...)

Return the anchor files for the conda records of python packages.

conda_prefix_data_loaders()

load_site_packages(prefix: conda.common.path.PathType, records: dict[str, conda.models.records.PrefixRecord]) dict[str, conda.models.records.PrefixRecord]#

Load non-conda-installed python packages in the site-packages of the prefix.

Python packages not handled by conda are installed via other means, like using pip or using python setup.py develop for local development.

Packages found that are not handled by conda are converted into a prefix record and handled in memory.

Packages clobbering conda packages (i.e. the conda-meta record) are removed from the in memory representation.

get_conda_anchor_files_and_records(site_packages_short_path, python_records)#

Return the anchor files for the conda records of python packages.

conda_prefix_data_loaders()#