In this case, the installer downloads whatever is specified by the URL ![]() the package to install is specified as a name and version specifier:.In other words, two relevant installation modes exist. Source archives and Version Control Systems (VCS) repositories,Īs standardized in PEP440 Direct References. They are also capable of downloadingĪnd installing source code from requirements specifying arbitrary URLs of Python installers such as pip are capable of downloading and installingĭistributions from package indexes. Thread on about the best course of action to implement improving the behavior of pip freeze in the presence of distributions Specifically, the PEP originated from the desire to address pip issue #609: Operation allowing a Python environment to be recreated to work in a broader The original motivation of this PEP was to permit tools with a “freeze” ![]() Installation front end, which records the Direct URL Origin for use byĬonsumers which introspect the database of installed packages (see PEP 376). Version, or a direct URL reference (see PEP440 Direct References).Īfter installation, the name and version are captured in the project metadata,īut currently there is no way to obtain details of the URL used when theĭistribution was identified by a direct URL reference.Īdditional metadata, to be added to the installed distribution by the Abstractįollowing PEP 440, a distribution can be identified by a name and either a See the PyPA specification update process for how to propose changes. The up-to-date, canonical spec, Recording the Direct URL Origin of installed distributions, is maintained on the PyPA specs page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |