summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-11-05 13:08:09 +0000
committerSimon McVittie <smcv@collabora.com>2017-11-05 13:56:09 +0000
commit71a613348477336df175a45dd46f035def495115 (patch)
treeb81fa4ea44d30341eac6741648f31cfe186a2b68 /setup.py
parentb4d2cded0f7584e9c9429790c841e926acd8a082 (diff)
downloaddbus-python-71a613348477336df175a45dd46f035def495115.tar.gz
Rename source directories for C code to silence an ImportWarning
Python warns that it is not importing these directories because they contain no __init__.py. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index cce22ce..de5ee7a 100755
--- a/setup.py
+++ b/setup.py
@@ -76,9 +76,9 @@ class BuildPy(Distribution().get_command_class('build_py')):
pass
dbus_bindings = Extension('_dbus_bindings',
- sources=['_dbus_bindings/module.c'])
+ sources=['dbus_bindings/module.c'])
dbus_glib_bindings = Extension('_dbus_glib_bindings',
- sources=['_dbus_glib_bindings/module.c'])
+ sources=['dbus_glib_bindings/module.c'])
setup(
name='dbus-python',