☰
Debian Codegraph
@
0.23.2+bzr1665-2
/
/
data
/
compile.py
☽
☼
data/compile.py
code
plain
raw
symbols
SCIP
GPL-2+
2009-2016 QBzr Developers; 2008-2009 Lukáš Lalinský <
[email protected]
>; 2007-2009 Alexander Belchenko; 2006-2008 Gary van der Merwe <
[email protected]
>; 2005-2011 Canonical Ltd; 2006 Jelmer Vernooij <
[email protected]
>; 2004-2006 Christopher Lenz <
[email protected]
>; 2005 Dan Loda <
[email protected]
>; 2006-2007 Trolltech ASA; 2009 Mark Hammond <
[email protected]
>; 2009 John Schember
debian/copyright
1
#!/usr/bin/env python
2
3
import
os, sys
4
5
RESFILE
=
'../lib/resources.py'
6
7
os.
system
(
"pyrcc4 qbrz.qrc -o "
+
RESFILE
)
8
if
sys.
platform
==
'win32'
:
9
f =
open
(
RESFILE
,
'rU'
)
10
s = f.
read
()
11
f.
close
()
12
f =
open
(
RESFILE
,
'wb'
)
13
f.
write
(s)
14
f.
close
()