From Fedora Project Wiki

< User:Rombobeorn

Revision as of 22:51, 20 January 2018 by Rombobeorn (talk | contribs) (current text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Python Packages (pypi)

As Pypi has moved to storing files in directories which change depending on the file being stored, it is rather unpleasant to use in a Source: URL. Instead, files.pythonhosted.org can be used as follows (where %srcname is defined in the sample python spec here).

Source0: https://files.pythonhosted.org/packages/source/e/%{srcname}/%{srcname}-%{version}.tar.gz