Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pip/PyPi: python-systemd vs systemd-python

A couple of months ago, I wrote a small Python service using systemd.journal. Pip list shows that I have python-systemd (231) installed in the corresponding virtualenv.

When I just tried to install the python-systemd package, I got python-systemd (0.0.9) instead, which does not have a .journal submodule. The python-systemd documentation says the module is available from pypi as python-systemd, however it seems that it is instead available as systemd-python (now in version 234).

Does anybody know if the package name has been changed? I could not find anything in the documentation.

like image 884
Silvester Avatar asked Jun 07 '26 19:06

Silvester


1 Answers

Yes, the name changed in September 2016:

setup.py: change name to systemd-python

This name is unused on pypi. Let's grab it.

The first release under that name was version 232.

The README does mention this now:

The project is also available on pypi as systemd-python.

like image 71
Martijn Pieters Avatar answered Jun 10 '26 10:06

Martijn Pieters