2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +00:00

README: add PYFLAKES=/usr/bin/pyflakes3 env variable

pyflakes 2.x nowadays complains about
    aa-genprof:60: undefined name 'PermissionError'

We already deprecated py2 support in 2.11 (and obviously nobody tests
with py2 anymore), therefore recommending pyflakes3 makes sense.

Maybe we should also change our Makefiles to use py3 and pyflakes3 by
default, but that will be another (master-only) commit.
This commit is contained in:
Christian Boltz
2019-10-24 14:11:42 +02:00
parent 5066dc6195
commit 556bb94aa5

View File

@@ -133,7 +133,7 @@ $ make install
```
$ cd utils
$ make
$ make check
$ make check PYFLAKES=/usr/bin/pyflakes3
$ make install
```