mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-22 19:16:34 +00:00
Document that build_ext needs to be run before build
When installing setools with python setup.py install, setools/policyrep/qpol.py is not copied to the destination directory. This is because the file is generated in step build_ext and Python files are copied beforehand (in step build_py). A simple workaround consists in running "setup.py build_ext" before building and installing setools. Document this in the README. Closes: https://github.com/TresysTechnology/setools/issues/173
This commit is contained in:
parent
f8c8ff0aee
commit
761915e025
@ -89,6 +89,7 @@ of the SETools soures, perform the following:
|
||||
Unpack the official distribution or check out the git repository,
|
||||
and perform the following at the root:
|
||||
```
|
||||
$ python setup.py build_ext
|
||||
$ python setup.py build
|
||||
$ python setup.py install
|
||||
```
|
||||
@ -104,6 +105,7 @@ set the SEPOL_SRC environmental variable to the path to the root of
|
||||
libsepol source tree:
|
||||
```
|
||||
$ export SEPOL_SRC=/home/user/src/selinux/libsepol
|
||||
$ python setup.py build_ext
|
||||
$ python setup.py build
|
||||
$ python setup.py install
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user