From a8c6ffb9f2079349d1a821f291795a80c29980b9 Mon Sep 17 00:00:00 2001
From: David Boddie <david.boddie@puri.sm>
Date: Fri, 14 Feb 2020 16:29:31 +0100
Subject: [PATCH] Remove unused config module

---
 src/config.py.in | 3 ---
 src/main.py      | 3 ---
 src/meson.build  | 8 --------
 3 files changed, 14 deletions(-)
 delete mode 100644 src/config.py.in

diff --git a/src/config.py.in b/src/config.py.in
deleted file mode 100644
index aa9ce28..0000000
--- a/src/config.py.in
+++ /dev/null
@@ -1,3 +0,0 @@
-VERSION = '@VERSION@'
-pkgdatadir = '@pkgdatadir@'
-localedir = '@localedir@'
diff --git a/src/main.py b/src/main.py
index 6d4e5a9..0f517ff 100755
--- a/src/main.py
+++ b/src/main.py
@@ -7,7 +7,6 @@
 # SPDX-License-Identifier: GPL-3.0+
 # Author: David Boddie <david.boddie@puri.sm>
 
-import os
 import sys
 import gi
 import evdev
@@ -15,8 +14,6 @@ import evdev
 gi.require_version('Gtk', '3.0')
 from gi.repository import GLib, Gtk
 
-from . import config
-
 
 class Window(Gtk.ApplicationWindow):
 
diff --git a/src/meson.build b/src/meson.build
index 68db93e..ce8d097 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -28,14 +28,6 @@ configure_file(
   install_dir: get_option('bindir')
 )
 
-configure_file(
-  input: 'config.py.in',
-  output: 'config.py',
-  configuration: conf,
-  install: true,
-  install_dir: moduledir
-)
-
 # Declare the application's sources and their installation directory.
 sources = [
   '__init__.py',
-- 
GitLab