]>
git.wh0rd.org - gnudebbugs.git/blob - gnudebbugs
2 # Copyright (C) 2021 Free Software Foundation, Inc.
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
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
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/>.
17 """Wrapper to run directly out of git."""
19 from pathlib
import Path
23 # Doesn't make sense to use this script for anything else.
24 assert __name__
== "__main__"
25 assert sys
.version_info
>= (3, 8), "Python 3.8+ required; found " + sys
.version
28 TOPDIR
= Path(__file__
).resolve().parent
29 sys
.path
.insert(0, str(TOPDIR
/ "src"))
31 from gnudebbugs
import __main__
33 sys
.exit(__main__
.main())