aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-05 10:01:39 -0600
committerDavid Gibson <david@gibson.dropbear.id.au>2017-04-07 15:43:34 +1000
commitb04a2cf08862ddac1ff7da40eef58ecb360da941 (patch)
tree6772d1655ba3ce5ddf27a1e745e2321abe23a1e5
parent1c5170d3a466dc96ec67c08f71a570631b404c62 (diff)
downloaddtc-b04a2cf08862ddac1ff7da40eef58ecb360da941.zip
dtc-b04a2cf08862ddac1ff7da40eef58ecb360da941.tar.gz
dtc-b04a2cf08862ddac1ff7da40eef58ecb360da941.tar.bz2
pylibfdt: Fix code style in setup.py
We should follow PEP8 even for our setup() call. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--pylibfdt/setup.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/pylibfdt/setup.py b/pylibfdt/setup.py
index 3bafe30..1597b44 100644
--- a/pylibfdt/setup.py
+++ b/pylibfdt/setup.py
@@ -24,11 +24,12 @@ libfdt_module = Extension(
extra_compile_args = cflags
)
-setup (name = 'libfdt',
- version = version,
- author = "Simon Glass <sjg@chromium.org>",
- description = """Python binding for libfdt""",
- ext_modules = [libfdt_module],
- package_dir = {'': objdir},
- py_modules = ["libfdt"],
- )
+setup(
+ name='libfdt',
+ version= version,
+ author='Simon Glass <sjg@chromium.org>',
+ description='Python binding for libfdt',
+ ext_modules=[libfdt_module],
+ package_dir={'': objdir},
+ py_modules=['libfdt'],
+)