[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

What is the best method to build deb package?



Hi.

I have tiny side/pet projects in python. And they have setup.py the
build method and I publish to pypi.

But I want to do some deb packages (for my pet projects), yes I can do
by hand (several years ago I do a debian package for PHP app).

But What is the best method to build deb package? I look for in the
doc of poetry but there is not a method to do this kind of thing (some
years ago, I asked about this in
https://github.com/python-poetry/poetry/issues/1359) .

I found some projects about python packaging deb (but I don't know
what it is the standard or best):
 - https://github.com/p1otr/dh-python
 - https://github.com/upciti/wheel2deb
 - https://github.com/spotify/dh-virtualenv
 - https://github.com/astraw/stdeb

Regards.


Reply to: