Newer
Older

benjamin.jakimow@geo.hu-berlin.de
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8 -*-
"""
***************************************************************************
---------------------
Date : 10.08.2017
Copyright : (C) 2017 by Benjamin Jakimow
Email : benjamin jakimow at geo dot hu-berlin dot de
***************************************************************************
* *
* 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. *
* *
***************************************************************************
"""
from __future__ import absolute_import
import sys
class run():
# add site-packages to sys.path as done by enmapboxplugin.py
from timeseriesviewer.sandbox import initQgisEnvironment
qgsApp = initQgisEnvironment()
from timeseriesviewer.main import TimeSeriesViewer
S = TimeSeriesViewer(None)
S.ui.show()
S.run()
#close QGIS
qgsApp.exec_()
qgsApp.exitQgis()
if __name__ == '__main__':
from timeseriesviewer.main import __main__
__main__()