1
0
镜像来自 https://github.com/arsenetar/dupeguru.git synced 2025-07-01 21:13:21 +00:00

Adapted to the job-related code moving to the 'jobprogress' package.

This commit is contained in:
Virgil Dupras 2010-11-20 12:42:15 +01:00
父節點 1b6e1369a0
當前提交 0382ad1534
共有 11 個文件被更改,包括 19 次插入15 次删除

10
README
查看文件

@ -13,6 +13,7 @@ There are also other sub-folder that comes from external repositories (automatic
with svn:externals):
- hscommon: A collection of helpers used across HS applications.
- hsgui: Cross-toolkit GUI-related helper classes.
- cocoalib: A collection of helpers used across Cocoa UI codebases of HS applications.
- qtlib: A collection of helpers used across Qt UI codebases of HS applications.
@ -25,9 +26,10 @@ General dependencies
-----
- Python 3.1 (http://www.python.org)
- Send2Trash3k (http://hg.hardcoded.net/send2trash3k)
- hsutil3k (http://hg.hardcoded.net/hsutil3k)
- hsaudiotag3k (for ME) (http://hg.hardcoded.net/hsaudiotag3k)
- Send2Trash3k (http://hg.hardcoded.net/send2trash)
- hsutil3k (http://hg.hardcoded.net/hsutil)
- hsaudiotag3k (for ME) (http://hg.hardcoded.net/hsaudiotag)
- jobprogress (http://hg.hardcoded.net/jobprogress)
- Markdown, to generate help files. (http://pypi.python.org/pypi/Markdown)
- PyYaml, for help files and the build system. (http://pyyaml.org/)
- py.test, to run unit tests. (http://codespeak.net/py/dist/test/)
@ -38,7 +40,7 @@ OS X prerequisites
- XCode 3.1 (http://developer.apple.com/TOOLS/xcode/)
- Sparkle (http://sparkle.andymatuschak.org/)
- PyObjC 2.3. (http://pyobjc.sourceforge.net/)
- py2app 0.5.4 (http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html)
- py2app 0.5.4 (http://bitbucket.org/ronaldoussoren/py2app)
Windows prerequisites
---

查看文件

@ -9,7 +9,8 @@
import logging
import os.path as op
from hscommon import cocoa, job
from jobprogress import job
from hscommon import cocoa
from hscommon.cocoa import install_exception_hook
from hscommon.cocoa.objcmin import (NSNotificationCenter, NSUserDefaults,
NSSearchPathForDirectoriesInDomains, NSApplicationSupportDirectory, NSUserDomainMask,

查看文件

@ -16,7 +16,7 @@ from unicodedata import normalize
from hsutil.misc import flatten
from hsutil.str import multi_replace
from hscommon import job
from jobprogress import job
(WEIGHT_WORDS,
MATCH_SIMILAR_WORDS,

查看文件

@ -11,7 +11,7 @@ import re
from xml.etree import ElementTree as ET
from . import engine
from hscommon.job import nulljob
from jobprogress.job import nulljob
from hscommon.markable import Markable
from hsutil.misc import flatten, nonone
from hsutil.str import format_size

查看文件

@ -9,7 +9,7 @@
import logging
import re
from hscommon import job
from jobprogress import job
from hsutil import io
from hsutil.misc import dedupe
from hsutil.str import get_file_ext, rem_file_ext

查看文件

@ -15,7 +15,7 @@ from hsutil import io
from hsutil.path import Path
from hsutil.decorators import log_calls
import hsutil.files
from hscommon.job import nulljob
from jobprogress.job import nulljob
from . import data
from .results_test import GetTestGroups

查看文件

@ -8,7 +8,7 @@
import sys
from hscommon import job
from jobprogress import job
from hsutil.decorators import log_calls
from hsutil.misc import first
from hsutil.testutil import eq_

查看文件

@ -6,8 +6,7 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/bsd_license
from hscommon import job
from jobprogress import job
from hsutil import io
from hsutil.path import Path
from hsutil.testutil import eq_

查看文件

@ -10,7 +10,7 @@ import logging
import multiprocessing
from collections import defaultdict, deque
from hscommon import job
from jobprogress import job
from core.engine import Match
from .block import avgdiff, DifferentBlockCountError, NoBlocksError

查看文件

@ -15,12 +15,12 @@ import os.path as op
from PyQt4.QtCore import QTimer, QObject, QCoreApplication, QUrl, SIGNAL, pyqtSignal
from PyQt4.QtGui import QDesktopServices, QFileDialog, QDialog, QMessageBox
from hscommon import job
from jobprogress import job
from jobprogress.qt import Progress
from core.app import DupeGuru as DupeGuruBase, JOB_SCAN, JOB_LOAD, JOB_MOVE, JOB_COPY, JOB_DELETE
from qtlib.about_box import AboutBox
from qtlib.progress import Progress
from qtlib.reg import Registration
from . import platform

查看文件

@ -12,6 +12,7 @@ sip.setapi('QVariant', 1)
from PyQt4.QtCore import QCoreApplication
from PyQt4.QtGui import QApplication, QIcon, QPixmap
from qtlib.error_report_dialog import install_excepthook
from qt.base import dg_rc
from qt.{{edition}}.app import DupeGuru
@ -25,4 +26,5 @@ if __name__ == "__main__":
QCoreApplication.setApplicationName(DupeGuru.NAME)
QCoreApplication.setApplicationVersion(DupeGuru.VERSION)
dgapp = DupeGuru()
install_excepthook()
sys.exit(app.exec_())