Add a simple launcher script
This commit is contained in:
parent
c39bce79f6
commit
9edbfaecc9
@ -42,9 +42,8 @@ Running qutebrowser
|
|||||||
|
|
||||||
After installing the <<requirements,requirements>>, you have these options:
|
After installing the <<requirements,requirements>>, you have these options:
|
||||||
|
|
||||||
* Run qutebrowser directly via `python3 -m qutebrowser`. Note executing
|
* Run qutebrowser directly via `python3 qutebrowser.py` in the toplevel
|
||||||
qutebrowser.py directly as script won't work, as Python won't recognize the
|
directory.
|
||||||
module.
|
|
||||||
* Run `python3 setup.py install` to install qutebrowser, then call
|
* Run `python3 setup.py install` to install qutebrowser, then call
|
||||||
`qutebrowser`.
|
`qutebrowser`.
|
||||||
|
|
||||||
|
29
qutebrowser.py
Executable file
29
qutebrowser.py
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
|
||||||
|
|
||||||
|
# Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
|
||||||
|
#
|
||||||
|
# This file is part of qutebrowser.
|
||||||
|
#
|
||||||
|
# qutebrowser 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 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# qutebrowser is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
"""Simple launcher for qutebrowser."""
|
||||||
|
|
||||||
|
import qutebrowser.qutebrowser
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(qutebrowser.qutebrowser.main())
|
Loading…
Reference in New Issue
Block a user