1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Converted to py3k. There's probably some bugs still. So far, I managed to run dupeGuru SE under pyobjc and qt.

This commit is contained in:
Virgil Dupras
2010-08-11 16:39:06 +02:00
parent fb79daad6a
commit 854d194f88
57 changed files with 394 additions and 338 deletions

5
run.py
View File

@@ -20,7 +20,7 @@ def main():
edition = conf['edition']
ui = conf['ui']
dev = conf['dev']
print "Running dupeGuru {0} with UI {1}".format(edition.upper(), ui)
print("Running dupeGuru {0} with UI {1}".format(edition.upper(), ui))
if ui == 'cocoa':
subfolder = 'dev' if dev else 'release'
app_path = {
@@ -32,8 +32,9 @@ def main():
elif ui == 'qt':
add_to_pythonpath('.')
add_to_pythonpath('qt')
add_to_pythonpath(op.join('qt', 'base'))
os.chdir(op.join('qt', edition))
os.system('python start.py')
os.system('python3 start.py')
os.chdir('..')
if __name__ == '__main__':