Closed kamino closed 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.
The following travis-ci build is using tox which internally uses virtualenv: https://travis-ci.org/kamino/setools/builds/49639714
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.