On 16 November 2017 at 16:51, Elliott Sales de Andrade <quantum.analyst@gmail.com> wrote:
On 16 November 2017 at 01:31, Nick Coghlan <ncoghlan@gmail.com> wrote:
However, if flit is now adding its own shim implcitly, then the answer would just be "Yes".
 
There's no need for a shim; basically use flit to build a wheel and then use the wheel installation macros instead.

Wait, we have wheel installation macros?


Huh, so we do. Somehow I managed to miss that :)

How would folks feel about adding a link to the dist-git macro file to the macros section in https://fedoraproject.org/wiki/Packaging:Python#Macros ?

I'm not currently inclined to add the information directly to the wiki page as:

- I don't like wikis in general as a docs management tool
- the wiki only shows one version, but the RPM with the default macros is branched along with the rest of Fedora

We could potentially add something to https://fedora-python.readthedocs.io/ about Fedora's RPM packaging tools for Python projects, but that would be significantly more work than just linking to dist-git.

Cheers,
Nick.

--
Nick Coghlan   |   ncoghlan@gmail.com   |   Brisbane, Australia