mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-21 10:37:11 +00:00
Merge pull request #94 from pebenito/py-typed
Install policyrep typing.
This commit is contained in:
commit
676d22e6e6
@ -7,7 +7,6 @@ from typing import Any, Callable, Dict, FrozenSet, Iterable, Iterator, List, Nam
|
||||
import enum
|
||||
import ipaddress
|
||||
import setools.exception
|
||||
import typing
|
||||
import weakref
|
||||
|
||||
AnyConstraint = Union["Constraint", "Validatetrans"]
|
||||
|
4
setup.py
4
setup.py
@ -142,7 +142,9 @@ setup(name='setools',
|
||||
packages=['setools', 'setools.checker', 'setools.diff', 'setoolsgui', 'setoolsgui.apol'],
|
||||
scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'],
|
||||
data_files=installed_data,
|
||||
package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map']},
|
||||
package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map',
|
||||
'policyrep.pyi',
|
||||
'py.typed']},
|
||||
ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'],
|
||||
annotate=cython_annotate,
|
||||
compiler_directives={"language_level": 3,
|
||||
|
Loading…
Reference in New Issue
Block a user