Comment 7 for bug 1631156

Revision history for this message
Barry Warsaw (barry) wrote :

I figured out a clever way to fix this. With a hack to the setup.py, the flake8 extension entry point only gets installed when an environment variable is set. We'll default to "off" and only enable it in the tox.ini. Since d/rules doesn't run tox and a normal `$python setup.py egg_info` (as pybuild runs) won't enable it, it won't get globally installed in the .deb