[Bug 1513961] Re: Missing __init__.py file on package

Mathew Hodson mathew.hodson at gmail.com
Tue Nov 10 17:10:26 UTC 2015


** Changed in: python-qrcode (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  Missing __init__.py file on package

Status in python-qrcode package in Ubuntu:
  New

Bug description:
  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.

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



More information about the Ubuntu-sponsors mailing list