Skip to content

Commit

Permalink
Merge pull request #129 from pebenito/css-install
Browse files Browse the repository at this point in the history
setup.py: Install CSS files.
  • Loading branch information
pebenito authored Apr 23, 2024
2 parents 0f7a123 + 70a2fd9 commit b15f2f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
'setoolsgui.widgets.models', 'setoolsgui.widgets.views'],
scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'],
data_files=installed_data,
package_data={'': ['*.html'],
package_data={'': ['*.css', '*.html'],
'setools': ['perm_map', 'policyrep.pyi', 'py.typed']},
ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'],
annotate=cython_annotate,
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ commands = mypy -p setools -p setoolsgui -p tests

[testenv:install]
deps = {[testenv]deps}
commands = {envpython} -m pip install --use-pep517 .
allowlist_externals = find
commands = {envpython} -m pip install --use-pep517 --root {envtmpdir}/setools .
find {envtmpdir}/setools

[testenv]
passenv = USERSPACE_SRC
Expand Down

0 comments on commit b15f2f2

Please sign in to comment.