Python packaging#9
Conversation
steadfasterX
left a comment
There was a problem hiding this comment.
the whole movement from libexec -> src requires to update SALT first:
https://github.com/steadfasterX/SALT/blob/master/kdzmanager.sh
until this is not done we cannot do that change here. dunno if you wanna take that part as well but this repo does exist only for the reason bc I use it in SALT..
if you can do the changes there as well I would be happy to merge this here though.
| @@ -1,4 +1,4 @@ | |||
| #!/usr/bin/env python2 | |||
There was a problem hiding this comment.
problem here is that we have different distro's out there and the time where this code was written python2 was default - now it is python3 on all modern ones but we cannot be sure. the code has been adapted to python3 a while ago so we can force python3 here imo
| readme="README.txt" | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
| "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", |
There was a problem hiding this comment.
Yeah, I copied the latter so that's probably the reason.
| @@ -1,4 +1,4 @@ | |||
| #!/usr/bin/env python3 | |||
There was a problem hiding this comment.
problem here is that we have different distro's out there and the time where this code was written python2 was default - now it is python3 on all modern ones but we cannot be sure. the code has been adapted to python3 a while ago so we can force python3 here imo
Okay, I'll check SALT and make the modifications. The reason why I'm making this PR is that I'd like to have the SALT tool packaged and it depends on the 2 Python subpackages which need some packaging mechanism - |
Hi,
thanks for developing these tools further.
Here's just some glue around the Python code to package it for distros. I'm packaging it for GNU Guix OS.