Skip to content

Commit b976f5c

Browse files
committed
setup.py: drop unnecessary global CYTHON_EXTS variable
1 parent 239a362 commit b976f5c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def extensions(**build_opts):
7171
build_opts = {'depends': [], 'include_dirs': []}
7272
exts = []
7373

74-
for ext in CYTHON_EXTS:
74+
for ext in cython_pyx(MODULEDIR):
7575
cythonized = os.path.splitext(ext)[0] + '.c'
7676
# use pre-generated modules for releases
7777
if not GIT and os.path.exists(cythonized):
@@ -152,7 +152,6 @@ def run(self):
152152
super().run()
153153

154154

155-
CYTHON_EXTS = list(cython_pyx(MODULEDIR))
156155

157156
setup(
158157
ext_modules=extensions(),

0 commit comments

Comments
 (0)