a  ze(ã@sdddlmZmZddlmZmZgd¢Zedœdd„Zeeeedœd d „Z eeed œd d „Z dS)é)ÚListÚOptionalé)ÚBaseDistributionÚBaseEnvironment)rrÚget_default_environmentÚget_environmentÚget_wheel_distribution)ÚreturncCsddlm}| ¡S)a Get the default representation for the current environment. This returns an Environment instance from the chosen backend. The default Environment instance should be built from ``sys.path`` and may use caching to share instance state accorss calls. r©Ú Environment)Ú pkg_resourcesr Údefaultr ©rúa/opt/bitninja-python-dojo/embedded/lib/python3.9/site-packages/pip/_internal/metadata/__init__.pyrs r)Úpathsr cCsddlm}| |¡S)a'Get a representation of the environment specified by ``paths``. This returns an Environment instance from the chosen backend based on the given import paths. The backend must build a fresh instance representing the state of installed distributions when this function is called. rr )r r Ú from_paths)rr rrrrs r)Ú wheel_pathÚcanonical_namer cCsddlm}| ||¡S)aGet the representation of the specified wheel's distribution metadata. This returns a Distribution instance from the chosen backend based on the given wheel's ``.dist-info`` directory. :param canonical_name: Normalized project name of the given wheel. r)Ú Distribution)r rÚ from_wheel)rrrrrrr &s r N) ÚtypingrrÚbaserrÚ__all__rÚstrrr rrrrÚs