selinux/python
Nicolas Iooss 72dc5c6241
python: always use python3 in the shebang of programs using setools
setools 4.2.0 dropped support for Python 2. On systems where
/usr/bin/python is Python 2, several tools are now broken because of
this. Update the shebang of these tools to /usr/bin/python3.

For future reference, as semanage/seobject.py, sepolicy and sepolgen
import setools, every program that uses one of these modules need to be
run with Python 3. The following programs do not use any of these
modules so their shebangs have not been modified:

    dbus/selinux_server.py
    libsemanage/utils/semanage_migrate_store
    mcstrans/share/util/mlscolor-test
    mcstrans/share/util/mlstrans-test
    sandbox/start

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2019-02-17 22:34:50 +01:00
..
audit2allow python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
chcat python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
semanage python/semanage: Use standard argparse.error() method in handlePermissive 2019-02-10 17:06:09 +01:00
sepolgen python: use == or != when comparing a variable with a string or a integer 2019-01-31 20:57:23 +01:00
sepolicy python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile python: run all the tests with "make test" 2019-01-08 10:15:46 +01:00
VERSION Update VERSIONs to 2.9-rc1 for release. 2019-01-25 11:48:54 +01:00