You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian no longer provides an executable named python by default[1][2], so relative repo paths don't work out of the box. Is this something you'd want to handle? Some options could be:
If you want to keep the code as is, then Debian users can install the python-is-python3 package to create the python -> python3 symlink, but this is a manual step that they have to know about.
The code could check for the existence of either python3 or python2 executables (...or just python3 if py2 compatibility isn't a concern).
I see there is a realpath --relative-to= option, I'm not sure if it this is equivalent to Python's os.path.relpath() but maybe the dependency on Python isn't needed.
Hey,
Debian no longer provides an executable named
python
by default[1][2], so relative repo paths don't work out of the box. Is this something you'd want to handle? Some options could be:python-is-python3
package to create the python -> python3 symlink, but this is a manual step that they have to know about.python3
orpython2
executables (...or just python3 if py2 compatibility isn't a concern).realpath --relative-to=
option, I'm not sure if it this is equivalent to Python'sos.path.relpath()
but maybe the dependency on Python isn't needed.[1] https://wiki.debian.org/Python
[2] https://www.debian.org/doc/packaging-manuals/python-policy/#unversioned-python-commands
The text was updated successfully, but these errors were encountered: