You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrew Senetar 421a58a61c
Merge pull request #758 from serg-z/serg-z/prioritize-dialog-multi-selections
3 months ago
.github/ISSUE_TEMPLATE Change version to 4.1.0 4 months ago
.tx Pulled all locs from Transifex 7 years ago
core Prioritize dialog: allow removing multiple prioritizations at once 3 months ago
help Update changelog 3 months ago
hscommon Fix debian src package build 3 months ago
images Update for macos Qt version 3 months ago
locale Updated wrongly translated wording 2 years ago
pkg Fix incorrect path 3 months ago
qt Prioritize dialog: fix drag-n-drop putting items before the last item 3 months ago
qtlib Merge pull request #733 from glubsy/dev 3 months ago
.ctags Add ctags config 4 years ago
.gitignore Add image comparison features to details dialog 9 months ago
.travis.yml Force correct python environment for tox on windows 3 months ago
CREDITS Remove icon credits from about box 5 months ago
LICENSE Change license from BSD to GPLv3 6 years ago
Makefile Clean up Makefile & unused files 3 months ago Update Readme notes for system setup 3 months ago Minor cleanup to 3 months ago Update Windows Requirements & CI 3 months ago Update for macos Qt version 3 months ago Fix flake8 issues introduced in 3 months ago
requirements-extra.txt Update for macos Qt version 3 months ago
requirements.txt Update for macos Qt version 3 months ago More Test and Flake8 Cleanup 9 months ago
setup.nsi Update URLs 3 months ago
tox.ini Update Windows Requirements & CI 3 months ago
win_version_info.temp Update Windows Build 2 years ago


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:

Current status

2020: various bug fixes and small UI improvements have been added. Packaging for MacOS is still a problem.

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.
  • 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.


System Setup

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

  • python3-pyqt5
  • python3-wheel (for hsaudiotag3k)
  • python3-venv (only if using a virtual environment)
  • python3-dev
  • build-essential

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
$ python

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 --clean
$ python

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 --clean && python"

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