Package a new Python module in 4 steps

When you install an application, you’re usually installing a package that contains the executable code for an application and important files such as documentation, icons, and so on. On Linux, applications are commonly packaged as RPM or DEB files, and users install them with the dnf or apt commands, depending on the Linux distribution. However, new Python modules are released virtually every day, so you could easily encounter a module that hasn’t yet been packaged. And that’s exactly why the pyp2rpm command exists.

Source: LXer – Package a new Python module in 4 steps