fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
153 stars 195 forks source link

Package python module independently #3824

Open cverna opened 4 years ago

cverna commented 4 years ago

Currently Bodhi's setup.py is used to create 4 modules:

This is not considered as a good practice and it makes it impossible to create python wheels for bodhi.

The goal of this ticket is to create independent setup.py under each directory, so that the client, the messages and server can be packaged independently.

abompard commented 4 years ago

If we use flit or poetry, we don't even need a setup.py file: the pyproject.toml file will suffice.

I suggest we create subdirectories in the bodhi repo for each module, and a pyproject.toml file in each of those repositories.