From 0405bfd53a305dfda07d8a95e0422ada52823acf Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Mon, 5 Jul 2021 15:43:42 +0200 Subject: [PATCH] removed some useless files --- .../fablabchemnitz/table_support/install | 3 - .../table_support/install_shortcuts.py | 57 ------------------- .../fablabchemnitz/table_support/keys.xml | 3 - 3 files changed, 63 deletions(-) delete mode 100755 extensions/fablabchemnitz/table_support/install delete mode 100755 extensions/fablabchemnitz/table_support/install_shortcuts.py delete mode 100644 extensions/fablabchemnitz/table_support/keys.xml diff --git a/extensions/fablabchemnitz/table_support/install b/extensions/fablabchemnitz/table_support/install deleted file mode 100755 index ccd5943b..00000000 --- a/extensions/fablabchemnitz/table_support/install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -./install_shortcuts.py -i keys.xml -o `inkscape -x`/../keys/default.xml \ No newline at end of file diff --git a/extensions/fablabchemnitz/table_support/install_shortcuts.py b/extensions/fablabchemnitz/table_support/install_shortcuts.py deleted file mode 100755 index e69d5e96..00000000 --- a/extensions/fablabchemnitz/table_support/install_shortcuts.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python3 -""" -table.py -Table support for Inkscape - -Copyright (C) 2011 Cosmin Popescu, cosminadrianpopescu@gmail.com - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -""" - -import sys, os, optparse -sys.path.append(os.path.dirname(sys.argv[0])) - -class install(): - OptionParser = optparse.OptionParser(usage="usage: %prog [options] SVGfile") - - def __init__(self): - opts = [('-i', '--input', 'string', 'input', '/tmp/i', - 'The input file'), - ('-o', '--output', 'string', 'output', '/tmp/o', - 'The output file'), - ] - for o in opts: - self.OptionParser.add_option(o[0], o[1], action="store", type=o[2], - dest=o[3], default=o[4], help=o[5]) - self.getoptions() - - def getoptions(self,args=sys.argv[1:]): - """Collect command line arguments""" - self.options, self.args = self.OptionParser.parse_args(args) - - def do_install(self): - f = open(self.options.input, 'r') - content = f.read() - f.close() - - f = open(self.options.output, 'r') - _c = f.read() - f.close() - - _c = _c.replace('', content + '\n') - - f = open(self.options.output, 'w') - f.write(_c) - f.close() - -if __name__ == '__main__': #pragma: no cover - e = install() - e.do_install() diff --git a/extensions/fablabchemnitz/table_support/keys.xml b/extensions/fablabchemnitz/table_support/keys.xml deleted file mode 100644 index 0650bdd5..00000000 --- a/extensions/fablabchemnitz/table_support/keys.xml +++ /dev/null @@ -1,3 +0,0 @@ - - -