![Jugurtha BELKALEM](/assets/img/avatar_default.png)
Ordinary local file IO is blocking, and cannot easily and portably made asynchronous. This means doing file IO may interfere with asyncio applications, which shouldn’t block the executing thread. aiofiles helps with this y introducing asynchronous versions of files that support delegating operations to a separate thread pool. More information is available at : https://pypi.org/project/aiofiles. Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15 lines
559 B
Makefile
15 lines
559 B
Makefile
################################################################################
|
|
#
|
|
# python-aiofiles
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_AIOFILES_VERSION = 0.5.0
|
|
PYTHON_AIOFILES_SOURCE = aiofiles-$(PYTHON_AIOFILES_VERSION).tar.gz
|
|
PYTHON_AIOFILES_SITE = https://files.pythonhosted.org/packages/2b/64/437053d6a4ba3b3eea1044131a25b458489320cb9609e19ac17261e4dc9b
|
|
PYTHON_AIOFILES_SETUP_TYPE = setuptools
|
|
PYTHON_AIOFILES_LICENSE = Apache-2.0
|
|
PYTHON_AIOFILES_LICENSE_FILES = LICENSE
|
|
|
|
$(eval $(python-package))
|