]> git.wh0rd.org - gnudebbugs.git/blame - gnudebbugs
initial release
[gnudebbugs.git] / gnudebbugs
CommitLineData
532fdf4c
MF
1#!/usr/bin/env python3
2# Copyright (C) 2021 Free Software Foundation, Inc.
3#
4# This program is free software: you can redistribute it and/or modify it under
5# the terms of the GNU Lesser General Public License as published by the Free
6# Software Foundation, either version 3 of the License, or at your option) any
7# later version.
8#
9# This program is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12# details.
13#
14# You should have received a copy of the GNU Lesser General Public License
15# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17"""Wrapper to run directly out of git."""
18
19from pathlib import Path
20import sys
21
22
23# Doesn't make sense to use this script for anything else.
24assert __name__ == "__main__"
25assert sys.version_info >= (3, 8), "Python 3.8+ required; found " + sys.version
26
27
28TOPDIR = Path(__file__).resolve().parent
29sys.path.insert(0, str(TOPDIR / "src"))
30
31from gnudebbugs import __main__
32
33sys.exit(__main__.main())