From Fedora Project Wiki
(Expanded detailed info)
Line 1: Line 1:
= Automatic PyPI Provides for Python RPM Packages =
+
= Automatic Provides for Python RPM Packages =
  
 
== Summary ==
 
== Summary ==
Upon building Python packages containing packaging metadata, RPM will automatically detect the canonical name<ref name="canonical" /> of the software on PyPI (Python Package Index) and create a virtual Provides tag with the value <code>pythonX.Ydist(PYPI_CANONICAL_NAME)</code>, where <code>X.Y</code> is the used Python version. RPM may also detect dependencies of the software from the metadata and automatically require them using the same syntax.
+
Upon building Python packages containing packaging metadata, RPM will automatically detect the standardized name of the software (dist name, name on PyPI) in the canonical format<ref name="canonical" /> and create a virtual Provides tag with the value <code>pythonX.Ydist(PYPI_CANONICAL_NAME)</code>, where <code>X.Y</code> is the used Python version. RPM may also detect dependencies of the software from the metadata and automatically require them using the same syntax.
 
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->
 
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->