Public bug reported: Here's the policy document for Python modules:
http://www.debian.org/doc/packaging-manuals/python-policy/ch- module_packages.html The ecryptfs module is strange in many ways: * It is not in a package named python-* * It does not use *any* of the available Python packaging helpers (the one to use nowadays would be dh_python2) * While the .pyc file is removed from the package, the .pyo file is not, and furthermore because the package isn't using any of the helpers it doesn't arrange for the module to be byte-compiled on installation or when the default Python version is changed * It is only built for the current Python version, rather than for all supported Python versions * The module is installed to /usr/lib/python2.7/dist-packages/ecryptfs-utils/libecryptfs.py; since you can't have a dash in a Python module name (http://docs.python.org/reference/simple_stmts.html#the-import-statement), this means that importing the module requires modifying sys.path in awkward ways I noticed this because I'm working on removing .pyc files from the live filesystem and recreating them at installation time, and this package showed up as a discrepancy because it was a rare case where the .pyc file was missing from the live filesystem but reappeared after my installer modifications. I'm not going to let this block my work, but it clearly ought to be fixed. The last issue in particular makes me wonder whether anyone is actually using this module. Do you know? Perhaps it would be acceptable to move it to a python-ecryptfs package without requiring any particular transition mechanism? ** Affects: ecryptfs-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/800647 Title: Python module packaged in very non-standard way To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/800647/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs