Automated Python packaging?

2020-11-13 Thread Peter Oliver
Thereʼs a Python module Iʼd like to package for Fedora. I made a start on Copr, but I rapidly got lost in a maze of missing dependencies and broken builds. OTOH, running `pip install` takes seconds and everything just works. I feel like someone must have come up with an easy way of building a

RE: Automated Python packaging?

2020-11-13 Thread mabinm
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, tar.gz or egg into the target python installation, which wi