From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 22 Dec 2019 14:42:00 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-pathlib2: select python-scandir In-Reply-To: <20191216194815.5436-1-asafka7@gmail.com> References: <20191216194815.5436-1-asafka7@gmail.com> Message-ID: <20191222144200.048e1559@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Mon, 16 Dec 2019 21:48:15 +0200 Asaf Kahlon wrote: > scandir is a runtime dependency of pathlib2. > > Signed-off-by: Asaf Kahlon > --- > package/python-pathlib2/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-pathlib2/Config.in b/package/python-pathlib2/Config.in > index e28de4c12e..ca948c271f 100644 > --- a/package/python-pathlib2/Config.in > +++ b/package/python-pathlib2/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_PYTHON_PATHLIB2 > bool "python-pathlib2" > depends on BR2_PACKAGE_PYTHON > + select BR2_PACKAGE_PYTHON_SCANDIR # runtime I see this in the setup.py: extras_require={ ':python_version<"3.5"': ['scandir'], }, Doesn't that mean that it is needed only if the Python version is < 3.5 ? Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com