diff options
| author | Christopher Rosell <chrippa@tanuki.se> | 2015-05-20 20:26:43 +0200 |
|---|---|---|
| committer | Christopher Rosell <chrippa@tanuki.se> | 2015-05-20 20:26:43 +0200 |
| commit | c830828b3bbc27c744aed7de7fdc197c7e766976 (patch) | |
| tree | 2a6224963dbdceeea5c5cc705e6e4441ada06e12 | |
| parent | e2cb3e15021b34c2c0e1b7cead032f7c981b45b5 (diff) | |
| download | cffi-fix-multiple-sources-arguments.tar.gz | |
Fix multiple sources arguments passed to setuptools.fix-multiple-sources-arguments
| -rw-r--r-- | cffi/setuptools_ext.py | 2 |
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): |
