選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 
Andrew Senetar b30d67b834
Merge pull request #775 from glubsy/PR_typo_fix
3週間前
.github/ISSUE_TEMPLATE Change version to 4.1.0 2ヶ月前
.tx Pulled all locs from Transifex 7年前
core Prioritize dialog: allow removing multiple prioritizations at once 1ヶ月前
help Update changelog 2ヶ月前
hscommon Fix debian src package build 2ヶ月前
images Update for macos Qt version 1ヶ月前
locale Update translation files 1ヶ月前
pkg Fix incorrect path 2ヶ月前
qt Fix typo 4週間前
qtlib Update translation files 1ヶ月前
.ctags Add ctags config 4年前
.gitignore Add image comparison features to details dialog 8ヶ月前
.travis.yml Force correct python environment for tox on windows 2ヶ月前
CREDITS Remove icon credits from about box 4ヶ月前
LICENSE Change license from BSD to GPLv3 6年前
Makefile Clean up Makefile & unused files 2ヶ月前
README.md Add transifex project link to readme 1ヶ月前
Windows.md Minor cleanup to Windows.md 2ヶ月前
build.py Update URL 4週間前
macos.md Update for macos Qt version 1ヶ月前
package.py Fix flake8 issues introduced in package.py 1ヶ月前
requirements-extra.txt Update for macos Qt version 1ヶ月前
requirements.txt Revert "Update ReadMe and requirements" 1ヶ月前
run.py Fix #760, issue with language on windows 1ヶ月前
setup.nsi Update URLs 1ヶ月前
tox.ini Update Windows Requirements & CI 2ヶ月前
win_version_info.temp Update Windows Build 1年前

README.md

dupeGuru

dupeGuru is a cross-platform (Linux, OS X, Windows) GUI tool to find duplicate files in a system. It is written mostly in Python 3 and has the peculiarity of using multiple GUI toolkits, all using the same core Python code. On OS X, the UI layer is written in Objective-C and uses Cocoa. On Linux, it is written in Python and uses Qt5.

The Cocoa UI of dupeGuru is hosted in a separate repo: https://github.com/arsenetar/dupeguru-cocoa

Current status

Still looking for additional help especially with regards to:

  • OSX maintenance: reproducing bugs & cocoa version, building package with Cocoa UI.
  • Linux maintenance: reproducing bugs, maintaining PPA repository, Debian package.
  • Translations: updating missing strings, transifex project at https://www.transifex.com/voltaicideas/dupeguru-1
  • Documentation: keeping it up-to-date.

Contents of this folder

This folder contains the source for dupeGuru. Its documentation is in help, but is also available online in its built form. Here’s how this source tree is organized:

  • core: Contains the core logic code for dupeGuru. It’s Python code.
  • qt: UI code for the Qt toolkit. It’s written in Python and uses PyQt.
  • images: Images used by the different UI codebases.
  • pkg: Skeleton files required to create different packages
  • help: Help document, written for Sphinx.
  • locale: .po files for localization.
  • hscommon: A collection of helpers used across HS applications.
  • qtlib: A collection of helpers used across Qt UI codebases of HS applications.

How to build dupeGuru from source

Windows & macOS specific additional instructions

For windows instructions see the Windows Instructions.

For macos instructions (qt version) see the macOS Instructions.

Prerequisites

System Setup

When running in a linux based environment the following system packages or equivalents are needed to build:

  • python3-pyqt5
  • pyqt5-dev-tools (on some systems, see note)
  • python3-wheel (for hsaudiotag3k)
  • python3-venv (only if using a virtual environment)
  • python3-dev
  • build-essential

Note: On some linux systems pyrcc5 is not put on the path when installing python3-pyqt5, this will cause some issues with the resource files (and icons). These systems should have a respective pyqt5-dev-tools package, which should also be installed. The presence of pyrcc5 can be checked with which pyrcc5. Debian based systems need the extra package, and Arch does not.

To create packages the following are also needed:

  • python3-setuptools
  • debhelper

Building with Make

dupeGuru comes with a makefile that can be used to build and run:

$ make && make run

Building without Make

$ cd <dupeGuru directory>
$ python3 -m venv --system-site-packages ./env
$ source ./env/bin/activate
$ pip install -r requirements.txt
$ python build.py
$ python run.py

Generating Debian/Ubuntu package

To generate packages the extra requirements in requirements-extra.txt must be installed, the steps are as follows:

$ cd <dupeGuru directory>
$ python3 -m venv --system-site-packages ./env
$ source ./env/bin/activate
$ pip install -r requirements.txt -r requirements-extra.txt
$ python build.py --clean
$ python package.py

This can be made a one-liner (once in the directory) as:

$ bash -c "python3 -m venv --system-site-packages env && source env/bin/activate && pip install -r requirements.txt -r requirements-extra.txt && python build.py --clean && python package.py"

Running tests

The complete test suite is run with Tox 1.7+. If you have it installed system-wide, you don’t even need to set up a virtualenv. Just cd into the root project folder and run tox.

If you don’t have Tox system-wide, install it in your virtualenv with pip install tox and then run tox.

You can also run automated tests without Tox. Extra requirements for running tests are in requirements-extra.txt. So, you can do pip install -r requirements-extra.txt inside your virtualenv and then py.test core hscommon