Skip to content

Commit

Permalink
Fix source list trimming in cythonize(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Mar 9, 2011
1 parent 1637019 commit 0fefeb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cython/Build/Dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,12 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None):
for key, value in base.values.items():
if key not in kwds:
kwds[key] = value
sources = [file]
if template is not None:
sources += template.sources[1:]
module_list.append(exn_type(
name=module_name,
sources=[file],
sources=sources,
**kwds))
m = module_list[-1]
seen.add(name)
Expand Down

0 comments on commit 0fefeb2

Please sign in to comment.