[packagekit] splitting python into frontend and backend
Sebastian Heinlein
glatzor at ubuntu.com
Thu Oct 30 23:07:20 PDT 2008
Am Dienstag, den 28.10.2008, 12:47 +0000 schrieb Richard Hughes:
> At the moment lib/python contains a mix of files used by the backends,
> and files used by front-end clients.
>
> I propose making:
>
> lib/python/*.py for all the client side stuff
> backends/helpers/python/*.py for all the backend stuff
>
> The former would install to the
> existing /usr/lib/python2.5/site-packages/packagekit, and the second
> to /usr/lib/python2.5/site-packages/packagekit-backend
You are not allowed to use a hyphen in python module names.
> This also allows us to create backends/helpers/perl for the urpmi
> backend.
>
> What do you think?
As already said by Tim the backend and frontend parts share some code
(pkgdbus, enums) so I don't think that we have such a clear difference
here.
Cheers,
Sebastian
More information about the PackageKit
mailing list