[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CLI recommendations for version-specific /usr/bin scripts



On 11 November 2013 08:45, Barry Warsaw <barry@debian.org> wrote:
 * Expose /usr/bin/foo with a shebang line of #!/usr/bin/python

 * Expose /usr/bin/foo-3 with a shebang line of #!/usr/bin/python3

In upstream IPython, we now install an ipython2 script on Python 2, paralleling the ipython3 script. The packaging in Debian for pip likewise installs /usr/bin/pip2, and as recently discussed, a python2 symlink is now created. Should this be part of the recommendation?

> Question: dash or no dash in the script name?

I feel like I mostly see the single-digit version number without a dash (nosetests3) and the two part number with a dash (nosetests-2.7). I'm inclined to leave the dash out where it makes sense, in line with the /usr/bin/python* naming, but I don't feel strongly about it.

Thomas

Reply to: