On Tuesday, 07 January 2020 at 14:32, Fabio Valentini wrote:
On Tue, Jan 7, 2020 at 2:18 PM Miro HronĨok
<mhroncok(a)redhat.com> wrote:
>
> On 07. 01. 20 14:06, Fabio Valentini wrote:
> > - python / pypi works great for %build and %install, but until testing
> > with tox is automated in packaging macros, %check has to be specified
> > manually since upstream projects do different things there.
> > generate_buildrequires also works nicely here.
>
> See the %tox macro from
https://src.fedoraproject.org/rpms/pyproject-rpm-macros
>
> Examples:
>
>
https://src.fedoraproject.org/rpms/python-xmlschema/blob/master/f/python-...
>
>
https://src.fedoraproject.org/rpms/python-elementpath/blob/master/f/pytho...
Ooh, shiny. I knew that somebody was working on this because it was
presented at flock, but I didn't know that it was in a usable state
now.
I'll try using it in the next python package I touch :) Thanks for the
pointers, Miro!
Thanks, indeed. Can we have that mentioned in the Python section of the
Packaging Guidelines?
Regards,
Dominik
--
Fedora
https://getfedora.org | RPM Fusion
http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan