apostrophe/apostrophe/__init__.py

36 lines
1.1 KiB
Python
Raw Normal View History

2014-07-06 20:35:24 +00:00
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
### BEGIN LICENSE
2019-07-05 18:47:49 +00:00
# Copyright (C) 2019, Wolf Vollprecht <w.vollprecht@gmail.com>
2014-07-06 20:35:24 +00:00
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY, 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 this program. If not, see <http://www.gnu.org/licenses/>.
### END LICENSE
import sys
2014-07-06 20:35:24 +00:00
import gi
2019-03-29 00:50:07 +00:00
gi.require_version('Gtk', '3.0')
2014-07-06 20:35:24 +00:00
from apostrophe import main_window
from apostrophe import application
from apostrophe.helpers import set_up_logging
from apostrophe.config import get_version
2019-04-01 16:00:17 +00:00
2014-07-06 20:35:24 +00:00
def main():
'constructor for your class instances'
# (options, args) = parse_options()
2019-03-29 00:50:07 +00:00
# Run the application.
app = application.Application()
2019-03-29 00:50:07 +00:00
app.run(sys.argv)