From c1b048020ee99ee209abe1d35fb0a9aaba3d6ec7 Mon Sep 17 00:00:00 2001 From: Matthew Broadway Date: Fri, 8 Feb 2019 15:55:49 +0000 Subject: [PATCH] fixed bug with detecting nested python packages in setup.py --- cython/setup.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cython/setup.py.in b/cython/setup.py.in index e72dbd7c1..0a994b18f 100644 --- a/cython/setup.py.in +++ b/cython/setup.py.in @@ -28,7 +28,7 @@ setup( packages=packages, package_data={package: - [f for f in os.listdir(package) if os.path.splitext(f)[1] == '.so'] + [f for f in os.listdir(package.replace('.', os.path.sep)) if os.path.splitext(f)[1] == '.so'] for package in packages }, install_requires=open('${PROJECT_SOURCE_DIR}/cython/requirements.txt', 'r').read().splitlines()