platform_external_selinux/python
Christian Göttsche 7c73601d54 tree-wide: introduce PYTHON_SETUP_ARGS to customize setup.py calls on Debian
On Debian the `distutils` module is patched, so `get_python_lib()`
returns by default `/usr/lib/python3/dist-packages` (no minor version)

But `setuptools` affecting setup.py is not patched to create the library
directory at `/usr/lib/python3/dist-packages` by default, rather than a
command line argument `--install-layout deb` is added

Add PYTHON_SETUP_ARGS as argument to affected setup.py calls and add a
note in the global README.md

See https://www.debian.org/doc/packaging-manuals/python-policy/packaging_tools.html
Section B.1

Fixes: https://github.com/SELinuxProject/selinux/issues/187

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Petr Lautrbach <plautrba@redhat.com>
2020-05-06 16:12:35 +02:00
..
audit2allow Fix many misspellings 2019-09-18 22:47:35 +02:00
chcat python/chcat: remove unnecessary assignment 2019-09-17 10:38:49 -04:00
semanage python/semanage: Use ipaddress module instead of IPy 2020-05-01 09:21:21 +02:00
sepolgen Update VERSIONs to 3.0 for release. 2019-11-28 13:46:48 +01:00
sepolicy tree-wide: introduce PYTHON_SETUP_ARGS to customize setup.py calls on Debian 2020-05-06 16:12:35 +02: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 3.0 for release. 2019-11-28 13:46:48 +01:00