From ecb42db4f925c4e6509ff11e80493586709a88a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kiss=20Koll=C3=A1r?= Date: Fri, 22 Jul 2022 11:52:08 +0100 Subject: [PATCH] Add runtime dependency on patchelf Use the PyPI version so users don't have to install this with the system package manager. --- README.rst | 1 - setup.cfg | 1 + setup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 02bbaae6..c1ab69dd 100644 --- a/README.rst +++ b/README.rst @@ -41,7 +41,6 @@ Requirements ------------ - OS: Linux - Python: 3.6+ -- `patchelf `_ Only systems that use `ELF `_-based linkage diff --git a/setup.cfg b/setup.cfg index 7aee6906..8ffc97f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ include_package_data = True install_requires = pyelftools>=0.24 importlib_metadata; python_version < "3.8" + patchelf packages = find: package_dir = =src diff --git a/setup.py b/setup.py index 4a029ace..ffb95664 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup extras = { - "test": ["pytest>=3.4", "jsonschema", "pypatchelf", "pretend", "docker"], + "test": ["pytest>=3.4", "jsonschema", "pretend", "docker"], "coverage": ["pytest-cov"], } extras["develop"] = sum(extras.values(), [])