On 16.11.2017 08:17, Nick Coghlan wrote:
On 16 November 2017 at 16:51, Elliott Sales de Andrade <quantum.anal...@gmail.com <mailto:quantum.anal...@gmail.com>> wrote:

    On 16 November 2017 at 01:31, Nick Coghlan <ncogh...@gmail.com
    <mailto:ncogh...@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?

/me goes and checks https://src.fedoraproject.org/rpms/python-rpm-macros/blob/master/f/macros.python

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

Adding the link makes sense to me. Adding all the macros definition to the wiki does not make sense to me, but form different reasons. I think that having %py3_build_egg and %py3_install_egg there is just not necessary. Since there are more files at [0] I'd just add that link.

[0] https://src.fedoraproject.org/rpms/python-rpm-macros/tree/master


About flit:

 * is this way of creating Python distributions getting more and
   more popular?
 * if so, should we add a new section of the guidelines? something like
   "Packaging setup.py-less projects"?

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   | ncogh...@gmail.com <mailto:ncogh...@gmail.com>   | Brisbane, Australia


_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to