Skip to content

Commit 64f7013

Browse files
committed
Remove redundant runtime requirement on setuptools
The dependency was dropped in 99a1cf3 Add a build time dependency for setup.py build_ext on Python 3.12+ which no longer contains distutils. Signed-off-by: Miro Hrončok <miro@hroncok.cz>
1 parent 4468cf8 commit 64f7013

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ classifiers = ["Development Status :: 5 - Production/Stable",
3939

4040
requires-python=">=3.10"
4141
# also requires libsepol.so and libselinux.so.
42-
dependencies = ["setuptools"]
42+
dependencies = []
4343

4444
optional-dependencies.analysis = ["networkx>=2.6",
4545
"pygraphviz"]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,6 @@ deps = networkx>=2.6
5656
pygraphviz
5757
pytest-qt
5858
pytest-xvfb
59+
setuptools;python_version>"3.11"
5960
commands_pre = {envpython} setup.py build_ext -i
6061
commands = {envpython} -m pytest tests

0 commit comments

Comments
 (0)