mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Adapted to the job-related code moving to the 'jobprogress' package.
This commit is contained in:
parent
1b6e1369a0
commit
0382ad1534
10
README
10
README
@ -13,6 +13,7 @@ There are also other sub-folder that comes from external repositories (automatic
|
|||||||
with svn:externals):
|
with svn:externals):
|
||||||
|
|
||||||
- hscommon: A collection of helpers used across HS applications.
|
- 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.
|
- 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.
|
- 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)
|
- Python 3.1 (http://www.python.org)
|
||||||
- Send2Trash3k (http://hg.hardcoded.net/send2trash3k)
|
- Send2Trash3k (http://hg.hardcoded.net/send2trash)
|
||||||
- hsutil3k (http://hg.hardcoded.net/hsutil3k)
|
- hsutil3k (http://hg.hardcoded.net/hsutil)
|
||||||
- hsaudiotag3k (for ME) (http://hg.hardcoded.net/hsaudiotag3k)
|
- 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)
|
- Markdown, to generate help files. (http://pypi.python.org/pypi/Markdown)
|
||||||
- PyYaml, for help files and the build system. (http://pyyaml.org/)
|
- PyYaml, for help files and the build system. (http://pyyaml.org/)
|
||||||
- py.test, to run unit tests. (http://codespeak.net/py/dist/test/)
|
- 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/)
|
- XCode 3.1 (http://developer.apple.com/TOOLS/xcode/)
|
||||||
- Sparkle (http://sparkle.andymatuschak.org/)
|
- Sparkle (http://sparkle.andymatuschak.org/)
|
||||||
- PyObjC 2.3. (http://pyobjc.sourceforge.net/)
|
- 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
|
Windows prerequisites
|
||||||
---
|
---
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
import logging
|
import logging
|
||||||
import os.path as op
|
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 import install_exception_hook
|
||||||
from hscommon.cocoa.objcmin import (NSNotificationCenter, NSUserDefaults,
|
from hscommon.cocoa.objcmin import (NSNotificationCenter, NSUserDefaults,
|
||||||
NSSearchPathForDirectoriesInDomains, NSApplicationSupportDirectory, NSUserDomainMask,
|
NSSearchPathForDirectoriesInDomains, NSApplicationSupportDirectory, NSUserDomainMask,
|
||||||
|
@ -16,7 +16,7 @@ from unicodedata import normalize
|
|||||||
|
|
||||||
from hsutil.misc import flatten
|
from hsutil.misc import flatten
|
||||||
from hsutil.str import multi_replace
|
from hsutil.str import multi_replace
|
||||||
from hscommon import job
|
from jobprogress import job
|
||||||
|
|
||||||
(WEIGHT_WORDS,
|
(WEIGHT_WORDS,
|
||||||
MATCH_SIMILAR_WORDS,
|
MATCH_SIMILAR_WORDS,
|
||||||
|
@ -11,7 +11,7 @@ import re
|
|||||||
from xml.etree import ElementTree as ET
|
from xml.etree import ElementTree as ET
|
||||||
|
|
||||||
from . import engine
|
from . import engine
|
||||||
from hscommon.job import nulljob
|
from jobprogress.job import nulljob
|
||||||
from hscommon.markable import Markable
|
from hscommon.markable import Markable
|
||||||
from hsutil.misc import flatten, nonone
|
from hsutil.misc import flatten, nonone
|
||||||
from hsutil.str import format_size
|
from hsutil.str import format_size
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from hscommon import job
|
from jobprogress import job
|
||||||
from hsutil import io
|
from hsutil import io
|
||||||
from hsutil.misc import dedupe
|
from hsutil.misc import dedupe
|
||||||
from hsutil.str import get_file_ext, rem_file_ext
|
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.path import Path
|
||||||
from hsutil.decorators import log_calls
|
from hsutil.decorators import log_calls
|
||||||
import hsutil.files
|
import hsutil.files
|
||||||
from hscommon.job import nulljob
|
from jobprogress.job import nulljob
|
||||||
|
|
||||||
from . import data
|
from . import data
|
||||||
from .results_test import GetTestGroups
|
from .results_test import GetTestGroups
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from hscommon import job
|
from jobprogress import job
|
||||||
from hsutil.decorators import log_calls
|
from hsutil.decorators import log_calls
|
||||||
from hsutil.misc import first
|
from hsutil.misc import first
|
||||||
from hsutil.testutil import eq_
|
from hsutil.testutil import eq_
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
# which should be included with this package. The terms are also available at
|
# which should be included with this package. The terms are also available at
|
||||||
# http://www.hardcoded.net/licenses/bsd_license
|
# http://www.hardcoded.net/licenses/bsd_license
|
||||||
|
|
||||||
|
from jobprogress import job
|
||||||
from hscommon import job
|
|
||||||
from hsutil import io
|
from hsutil import io
|
||||||
from hsutil.path import Path
|
from hsutil.path import Path
|
||||||
from hsutil.testutil import eq_
|
from hsutil.testutil import eq_
|
||||||
|
@ -10,7 +10,7 @@ import logging
|
|||||||
import multiprocessing
|
import multiprocessing
|
||||||
from collections import defaultdict, deque
|
from collections import defaultdict, deque
|
||||||
|
|
||||||
from hscommon import job
|
from jobprogress import job
|
||||||
|
|
||||||
from core.engine import Match
|
from core.engine import Match
|
||||||
from .block import avgdiff, DifferentBlockCountError, NoBlocksError
|
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.QtCore import QTimer, QObject, QCoreApplication, QUrl, SIGNAL, pyqtSignal
|
||||||
from PyQt4.QtGui import QDesktopServices, QFileDialog, QDialog, QMessageBox
|
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 core.app import DupeGuru as DupeGuruBase, JOB_SCAN, JOB_LOAD, JOB_MOVE, JOB_COPY, JOB_DELETE
|
||||||
|
|
||||||
from qtlib.about_box import AboutBox
|
from qtlib.about_box import AboutBox
|
||||||
from qtlib.progress import Progress
|
|
||||||
from qtlib.reg import Registration
|
from qtlib.reg import Registration
|
||||||
|
|
||||||
from . import platform
|
from . import platform
|
||||||
|
@ -12,6 +12,7 @@ sip.setapi('QVariant', 1)
|
|||||||
from PyQt4.QtCore import QCoreApplication
|
from PyQt4.QtCore import QCoreApplication
|
||||||
from PyQt4.QtGui import QApplication, QIcon, QPixmap
|
from PyQt4.QtGui import QApplication, QIcon, QPixmap
|
||||||
|
|
||||||
|
from qtlib.error_report_dialog import install_excepthook
|
||||||
from qt.base import dg_rc
|
from qt.base import dg_rc
|
||||||
from qt.{{edition}}.app import DupeGuru
|
from qt.{{edition}}.app import DupeGuru
|
||||||
|
|
||||||
@ -25,4 +26,5 @@ if __name__ == "__main__":
|
|||||||
QCoreApplication.setApplicationName(DupeGuru.NAME)
|
QCoreApplication.setApplicationName(DupeGuru.NAME)
|
||||||
QCoreApplication.setApplicationVersion(DupeGuru.VERSION)
|
QCoreApplication.setApplicationVersion(DupeGuru.VERSION)
|
||||||
dgapp = DupeGuru()
|
dgapp = DupeGuru()
|
||||||
|
install_excepthook()
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user