-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
name conflicts with systemd's own python bindings; how to package? #4
Comments
As it turns out, the 'official' systemd-python binding have a Logger object as well. We can support both. (This may be a recent addition, as I don't recall seeing this before.) Since I'm having some packaging tribulations with the non-official systemd-python package (see [1]), I'll opt for this solution for now. [1]: mosquito/cysystemd#4
You are absolutelly right, actually I don't know what can I do with this collisions. Some my projects already require it as systemd. My own solution: Making RPM package which contains a virtualenv with all dependencies. And the second one solution: You could build package with different name (e.g. cython-systemd) and add I hope this options would helps you. |
Thanks for your thoughts @mosquito ! Hmmm, if you already depend on it for many projects, a rename is not really going to work. That does mean that it can't be officially packaged for debian/ubuntu , because they probably wouldn't accept a virtualenv-based solution. Is that an issue for you? For my own project, I'm going to go with this solution here: tkluck/pac4cli@dc5d7a8 . It's a bit silly, but it does allow both a |
As it turns out, the 'official' systemd-python binding have a Logger object as well. We can support both. (This may be a recent addition, as I don't recall seeing this before.) Since I'm having some packaging tribulations with the non-official systemd-python package (see [1]), I'll opt for this solution for now. [1]: mosquito/cysystemd#4
Actually it now broke ansbile ;) |
This is an issue for "ansible" team. Distutils has internal requirements validation. |
Yes, so i filed bug. But i know that you use ansible, so be warned ;) |
Package has been renamed as |
Thanks for these excellent bindings; they are certainly much more pythonic than the ones that systemd ships.
I'm trying to package this library as I have my own software depending on it. This is quite hard, because at least in debian,
import systemd
is already taken by the official bindings.In general, the naming conventions have become a bit unfortunate:
python-systemd
python-systemd
systemd-python
systemd
python{,3}-systemd
import
statementimport systemd
import systemd
What's your preferred way of handling this? A possible suggestion would be to rename to
pysystemd
, but I'm just thinking out loud here.The text was updated successfully, but these errors were encountered: