Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian: remove any python bytecode from package (#544) #550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dankamongmen
Copy link
Contributor

In freshly-generated bloom templates for Debian, clean out any compiled Python bytecode that might have been installed. This is handled by a find following the dh_auto_install, so we still get the benefits of e.g. syntax checking that come with compiling the python.

This also ought resolve #199 from 2013 or so, and eliminate the lintian error package-installs-python-bytecode (https://lintian.debian.org/tags/package-installs-python-bytecode.html).

Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would work, if we had the postinstalls setup. There are notes in #199 about that.

There are many packaging guides for debian packages. And there are many debian packages with python code. Please find the appropriate guide that explains the recommended approach, or if that can't be found find examples where maintainers are already dealing with this in accepted packages. We don't want to stay as closely as we can to standard debian packaging practices otherwise it will be harder to remain compliant for other debian practices policies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bloom installing python bytecode
2 participants