402.1.154
by Keith Hughitt
Fixed bug #532141: "Add option to get all frames instead of specifing a cadence." Added some fixes to image ingestion tool. |
1 |
#!/usr/bin/env python
|
2 |
#-*- coding:utf-8 -*-
|
|
402.1.602
by Keith Hughitt
Improved Python 3 support for installer. |
3 |
"""
|
4 |
Helioviewer Database Installation Tool
|
|
5 |
||
402.4.26
by Keith Hughitt
Reorganized installer and downloader code |
6 |
Last Updated: 2012/04/23
|
402.1.602
by Keith Hughitt
Improved Python 3 support for installer. |
7 |
|
8 |
TODO 01/17/2010:
|
|
9 |
* Let user specify dbname
|
|
10 |
* Add clarification regarding which username is expected and what it's used for
|
|
11 |
* Udpate graphical installer to reflect changes to text installer
|
|
12 |
"""
|
|
300
by V. Keith Hughitt
Progress save: 2009/08/19 |
13 |
import sys |
402.4.26
by Keith Hughitt
Reorganized installer and downloader code |
14 |
from helioviewer import init_logger |
305
by V. Keith Hughitt
progress save 2009/08/24: Preparing to create separate Helioviewer Install Tool branch |
15 |
|
402.1.877
by Keith Hughitt
Refactoring Helioviewer installer and updater scripts. |
16 |
def main(): |
402.1.602
by Keith Hughitt
Improved Python 3 support for installer. |
17 |
'''Main application access point'''
|
402.4.25
by Keith Hughitt
Unified logging for installer, updater, and downloader |
18 |
init_logger("install.log") |
19 |
||
402.1.877
by Keith Hughitt
Refactoring Helioviewer installer and updater scripts. |
20 |
try: |
21 |
import PyQt4 |
|
402.4.26
by Keith Hughitt
Reorganized installer and downloader code |
22 |
import helioviewer.installer.gui |
23 |
helioviewer.installer.gui.install() |
|
402.4.21
by Keith Hughitt
Restructured installer folder for future incorporation of hvpull codebase |
24 |
except Exception as e: |
402.4.26
by Keith Hughitt
Reorganized installer and downloader code |
25 |
from helioviewer.installer.console import HelioviewerConsoleInstaller |
402.1.879
by Keith Hughitt
Installer PEP8 cleanup |
26 |
app = HelioviewerConsoleInstaller() |
297
by Keith Hughitt
nightly build 2009/08/17 |
27 |
|
89
by V. Keith Hughitt
nightly build 07-09-2008: re-writing db population script to fix errors during tile processing |
28 |
if __name__ == '__main__': |
402.1.877
by Keith Hughitt
Refactoring Helioviewer installer and updater scripts. |
29 |
sys.exit(main()) |