From 1a4e952e4f25e732ef9ed052da936ec4f30b99dc Mon Sep 17 00:00:00 2001 From: Giuseppe Guerra Date: Fri, 13 Apr 2018 23:38:05 +0200 Subject: [PATCH] Ignore .pyx files in .pyenv --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b6071e6..82bb34e 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import os cythonExt = [] for root, dirs, files in os.walk(os.getcwd()): for file in files: - if file.endswith(".pyx"): + if file.endswith(".pyx") and ".pyenv" not in root: # im sorry filePath = os.path.relpath(os.path.join(root, file)) cythonExt.append(Extension(filePath.replace("/", ".")[:-4], [filePath]))