Public bug reported:

The package is missing a __init__.py file on the qrcode/image package,
making it useless. Just try to 'import qrcode' and since qrcode.image is
not a package because of the missing file, and the qrcode/__init__.py
tries to import it, it will not work.

Just by changing the rules to do 'dh $@ --with python2' (which is the
rule being used by newer versions of this package on vivid/whily/etc)
instead of 'dh $@' made it correct. The change is attached on the bug.

I uploaded a new version with the change on my ppa here
<https://launchpad.net/~hackedbellini/+archive/ubuntu/misc> so you can
test it if you want.

** Affects: python-qrcode (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "qrcode.diff"
   
https://bugs.launchpad.net/bugs/1513961/+attachment/4514456/+files/qrcode.diff

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

Title:
  Missing __init__.py file on package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-qrcode/+bug/1513961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to