Eric Langlois
Eric Langlois

Reputation: 692

Do any tools support Provides-Dist metadata for python packages? If not, why?

The python package metadata specification includes the field Provides-Dist, which seems to allow for a package to declare that it provides the functionality of a different package (or virtual package).

This feature seems like it would be useful for something like TensorFlow where the same interface is provided by many different related packages: tensorflow, tensorflow-gpu, tf-nightly, ..., making it effectively impossible for other python packages to "install_requires" tensorflow (most major packages omit it).

According to that specification document, this feature is "rarely used".

Upvotes: 0

Views: 136

Answers (1)

sinoroc
sinoroc

Reputation: 22305

As far as I know no tool supports Provides-Dist.

The following comment seems to corroborate:

Upvotes: 1

Related Questions