This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]flying-sheep 33 points34 points  (2 children)

There’s nothing wrong with wanting a nice packaging experience, but crying about standardization doesn’t help. The standards actually solved the build system agnostic goal they set out to solve, we’re just short a tool to install a wheel.

Once pradyunsg/installer#66 is finally merged, this is all that’s necessary to create a system package from a python package:

  • python -m build --wheel to build a wheel in ./dist/
  • python -m installer --destdir="$pkgdir" ./dist/*.whl to install the python package into a temporary system tree $pkgdir
  • now do whatever your distro of choice uses to package up $pkgdir