root/trunk/libffado/support/mixer-qt4/ffado-mixer.in

Revision 2125, 1.1 kB (checked in by jwoithe, 9 years ago)

From Nils Philippsen: python: prefer installed python modules/paths. This ensures that the ffado python programs find their respective modules before any others which might happen to be reachable via the default python path.

  • Property svn:executable set to *
Line 
1 #!/usr/bin/python
2 #
3 # Copyright (C) 2005-2008 by Pieter Palmers
4 #               2007-2009 by Arnold Krille
5 #
6 # This file is part of FFADO
7 # FFADO = Free Firewire (pro-)audio drivers for linux
8 #
9 # FFADO is based upon FreeBoB.
10 #
11 # This program is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
23 #
24
25 import sys
26
27 # Add the path of the installed ffado-modules
28 # for path in sys.path:
29 sys.path.insert(0, "$PYPKGDIR" )
30
31 from ffado.ffadowindow import *
32
33 if __name__ == "__main__":
34     sys.exit(ffadomain(sys.argv))
35
36 #
37 # vim: ts=4 sw=4 et
Note: See TracBrowser for help on using the browser.