
| Current Path : /lib/python3/dist-packages/galternatives/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //lib/python3/dist-packages/galternatives/__main__.py |
#!/usr/bin/env python3
import os
import sys
# If run as a single file (rather than a module), include the correct path so
# that the package can be imported
if __name__ == '__main__' and __package__ is None:
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from galternatives.app import GAlternativesApp
import signal
def main():
# Allow Ctrl-C to work
signal.signal(signal.SIGINT, signal.SIG_DFL)
app = GAlternativesApp()
return app.run(sys.argv)
if __name__ == '__main__':
sys.exit(main())