'extra-index-url in WHEEL metadata

In a requirements.txt file, I can specify that certain packages should be found in a non-default index url via

--extra-index-url https://example.com/bar
mypackage >= 1.5

Now, if I create a wheel file which has mypackage as a dependency, how do I specify that in the wheel metadata? Currently, the Requires-dist documentation shows how to specify the package name, version, and perhaps platform, but I cannot find the corresponding syntax for what index url should be searched.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source