2 # -*- coding: utf-8 -*-
6 This program is a command-line-driven module loader for Systematiki. It
7 provides for running any combination of one Systematiki front-end and one
11 # Copyright 2007 Felix Rabe
13 # This file is part of Systematiki.
15 # Systematiki is free software; you can redistribute it and/or modify it
16 # under the terms of the GNU Lesser General Public License as published by
17 # the Free Software Foundation; either version 3 of the License, or (at
18 # your option) any later version.
20 # Systematiki is distributed in the hope that it will be useful, but
21 # WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
23 # General Public License for more details.
25 # You should have received a copy of the GNU Lesser General Public License
26 # along with Systematiki. If not, see <http://www.gnu.org/licenses/>.
30 systematiki.py --back Back.End ... --front Front.End ..."""
35 assert argv
[1] == "--back"
36 backend_name
= argv
[2]
37 i
= argv
.index("--front", 3)
38 backend_options
= argv
[3:i
]
39 frontend_name
= argv
[i
+1]
40 frontend_options
= argv
[i
+2:]
46 if __name__
== "__main__":
48 sys
.exit(main(sys
.argv
))