[systemd-devel] [PATCH] python-systemd: add version number

Steven Hiscocks steven-systemd at hiscocks.me.uk
Tue Apr 30 15:02:44 PDT 2013


On 30/04/13 03:33, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Apr 23, 2013 at 08:11:03PM +0100, Steven Hiscocks wrote:
>> From: Steven Hiscocks <steven at hiscocks.me.uk>
>>
>> ---
>> Hi,
>>
>> I thought it would be useful to have a version number in the python systemd module.
> Hi,
> I haven't replied to this before because of one reservation. Namely,
> right now all systemd modules are independent, and could be packaged
> separately, with systemd being an implicit namespace package à la
> PEP 420. I think that this makes a lot of sense, since systemd itself
> is composed of many loosely linked parts and and we're unlikely to
> ever put any functionality in systemd package itself. But adding
> systemd.__version__ and encouraging people to use it will make such
> a step harder. OTOH, adding __version__ to individual packages would
> definitely be worthwhile. As an additional bonus, all those packages
> have compiled components, so __version__ could be added without any
> sed postprocessing.
>
> Zbyszek
>

Zbyszek,

That seems fair to me and I agree it would be worthwhile adding version 
numbers to the individual packages. :-)

-- 
Steven Hiscocks


More information about the systemd-devel mailing list