Yes, that looks fine.

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/1047457

Title:
  python-packaging.html will result in incorrect #! lines for Python 3

Status in Ubuntu Packaging Guide:
  In Progress

Bug description:
  The advice in python-packaging.html:

  PYTHON3=$(shell py3versions -r)

  ...

      set -ex; for python in $(PYTHON3); do \
          $$python setup.py build; \
      done

  ...

      set -ex; for python in $(PYTHON3); do \
          $$python setup.py install --install-layout=deb --root=debian/tmp; \
      done

  ... will result in incorrect #! lines for applications defaulting to
  Python 3, something like #! /usr/bin/python3.2 rather than #!
  /usr/bin/python3.  To avoid that, you need something like this:

    https://bazaar.launchpad.net/~ubuntu-core-dev/software-
  properties/main/revision/794

  This only really matters if you're defaulting to Python 3, which
  probably isn't the case in the example given in this documentation
  since it runs the standard dh_auto_* commands *after* the manual
  additions and those commands will overwrite #! with #!
  /usr/bin/python.  However, these overrides are likely to be copied and
  pasted with modifications, so it's worth getting them pedantically
  right.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/1047457/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-packaging-guide-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-packaging-guide-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to