summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Rosell <chrippa@tanuki.se>2015-05-20 20:26:43 +0200
committerChristopher Rosell <chrippa@tanuki.se>2015-05-20 20:26:43 +0200
commitc830828b3bbc27c744aed7de7fdc197c7e766976 (patch)
tree2a6224963dbdceeea5c5cc705e6e4441ada06e12
parente2cb3e15021b34c2c0e1b7cead032f7c981b45b5 (diff)
downloadcffi-fix-multiple-sources-arguments.tar.gz
Fix multiple sources arguments passed to setuptools.fix-multiple-sources-arguments
-rw-r--r--cffi/setuptools_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cffi/setuptools_ext.py b/cffi/setuptools_ext.py
index 7c763ba..dc9c33a 100644
--- a/cffi/setuptools_ext.py
+++ b/cffi/setuptools_ext.py
@@ -76,7 +76,7 @@ def _add_c_module(dist, ffi, module_name, source, source_extension, kwds):
from cffi import recompiler
allsources = ['$PLACEHOLDER']
- allsources.extend(kwds.get('sources', []))
+ allsources.extend(kwds.pop('sources', []))
ext = Extension(name=module_name, sources=allsources, **kwds)
def make_mod(tmpdir):