## Fonty Python Copyright (C) 2017 Donn.C.Ingle
## Contact: donn.ingle@gmail.com - I hope this email lasts.
##
## This file is part of Fonty Python.
## Fonty Python 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 3 of the License, or
## (at your option) any later version.
##
## Fonty Python 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.
##
## You should have received a copy of the GNU General Public License
## along with Fonty Python.  If not, see <http://www.gnu.org/licenses/>.
"""
Dec 2017
===
This is step 4 in the startup process. We got here from
    ../fp_step_3.py
"""

## test modules etc.
import sanitycheck

import fpsys # The first import means the code in there gets RUN.
## That's where we create iPC (the single instance of PathControl).

## Process the command line stuff...
import cli2

## What keeps the cli and the gui apart is any 
## "raise SystemExit" inside cli
## between here and ..
## The GUI
import wxgui

## End, clean up
fpsys.config.Save()
