aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_clib.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-19 12:46:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-01-19 12:46:30 -0500
commit3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b (patch)
treeffbf9cd5a02337ced626892b672b7e21bd305717 /setuptools/command/build_clib.py
parenta0e8d0568d84e29066a5b45aade5aafe28237ec0 (diff)
downloadexternal_python_setuptools-3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b.tar.gz
external_python_setuptools-3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b.tar.bz2
external_python_setuptools-3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b.zip
👹 Feed the hobgoblins (delint).
Diffstat (limited to 'setuptools/command/build_clib.py')
-rw-r--r--setuptools/command/build_clib.py31
1 files changed, 17 insertions, 14 deletions
diff --git a/setuptools/command/build_clib.py b/setuptools/command/build_clib.py
index 09caff6f..88f0d095 100644
--- a/setuptools/command/build_clib.py
+++ b/setuptools/command/build_clib.py
@@ -71,28 +71,31 @@ class build_clib(orig.build_clib):
output_dir=self.build_temp
)
- if newer_pairwise_group(dependencies, expected_objects) != ([], []):
+ if (
+ newer_pairwise_group(dependencies, expected_objects)
+ != ([], [])
+ ):
# First, compile the source code to object files in the library
# directory. (This should probably change to putting object
# files in a temporary build directory.)
macros = build_info.get('macros')
include_dirs = build_info.get('include_dirs')
cflags = build_info.get('cflags')
- objects = self.compiler.compile(
- sources,
- output_dir=self.build_temp,
- macros=macros,
- include_dirs=include_dirs,
- extra_postargs=cflags,
- debug=self.debug
- )
+ self.compiler.compile(
+ sources,
+ output_dir=self.build_temp,
+ macros=macros,
+ include_dirs=include_dirs,
+ extra_postargs=cflags,
+ debug=self.debug
+ )
# Now "link" the object files together into a static library.
# (On Unix at least, this isn't really linking -- it just
# builds an archive. Whatever.)
self.compiler.create_static_lib(
- expected_objects,
- lib_name,
- output_dir=self.build_clib,
- debug=self.debug
- )
+ expected_objects,
+ lib_name,
+ output_dir=self.build_clib,
+ debug=self.debug
+ )