Ignore .pyx files in .pyenv
This commit is contained in:
parent
ea4e2bd4fd
commit
1a4e952e4f
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ import os
|
||||||
cythonExt = []
|
cythonExt = []
|
||||||
for root, dirs, files in os.walk(os.getcwd()):
|
for root, dirs, files in os.walk(os.getcwd()):
|
||||||
for file in files:
|
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))
|
filePath = os.path.relpath(os.path.join(root, file))
|
||||||
cythonExt.append(Extension(filePath.replace("/", ".")[:-4], [filePath]))
|
cythonExt.append(Extension(filePath.replace("/", ".")[:-4], [filePath]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user