Re: Automated Python packaging?

2020-11-14 Thread Lumír Balhar
Hello. Unfortunately, there is no way to package a bunch of packages from PyPI to RPMs at once. There is pyp2rpm [0] tool that might help you with creating individual packages but if your module has a lot of dependencies and some of them are missing in Fedora, you'll have to start with them.

Re: Automated Python packaging?

2020-11-14 Thread Lumír Balhar
Hello, Michael. On 11/14/20 1:50 AM, mabinm wrote: Hi Peter. You can build the kind of dependency-aware rpm you're looking for in two ways. Do a pip download of the python package with or without dependencies and have the %post scriptlet in the RPM spec file do a pip install of the wheel,

Re: Automated Python packaging?

2020-11-14 Thread Michael Mabin
> On Nov 14, 2020, at 9:31 AM, Lumír Balhar wrote: > > Hello, Michael. > > On 11/14/20 1:50 AM, mabinm wrote: >> Hi Peter. >> >> You can build the kind of dependency-aware rpm you're looking for in two >> ways. >> >> Do a pip download of the python package with or without dependencies and