OwlCyberDefense / setools

setools has moved to https://github.com/SELinuxProject/setools
Other
91 stars 34 forks source link

Enable installing setools in virtualenv #47

Closed kamino closed 9 years ago

kamino commented 9 years ago

When installed from virtualenv, setools fails to write into /usr/share/setools. This fix uses sys.prefix to install data_files either system wide or inside the virtualenv.

kamino commented 9 years ago

The following travis-ci build is using tox which internally uses virtualenv: https://travis-ci.org/kamino/setools/builds/49639714