1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-12-21 10:59:03 +00:00
Go to file
2021-01-05 23:21:44 -06:00
.github/ISSUE_TEMPLATE Change version to 4.1.0 2020-12-06 20:13:03 +01:00
.tx Pulled all locs from Transifex 2013-08-03 17:34:02 -04:00
core Fix exception when testing invalid regex 2020-12-30 22:50:42 +01:00
help Update changelog 2020-12-29 21:51:16 +01:00
hscommon Fix debian src package build 2020-12-29 23:45:15 +01:00
images Update for macos Qt version 2020-12-30 16:44:27 -06:00
locale Updated wrongly translated wording 2018-07-11 14:26:27 +08:00
pkg Fix incorrect path 2020-12-30 17:55:53 +01:00
qt Update URLs 2021-01-05 23:21:44 -06:00
qtlib Merge pull request #733 from glubsy/dev 2021-01-05 22:48:21 -06:00
.ctags Add ctags config 2016-06-07 21:36:25 -04:00
.gitignore Add image comparison features to details dialog 2020-07-02 22:52:47 +02:00
.travis.yml Force correct python environment for tox on windows 2020-12-28 21:18:16 -06:00
build.py Update Windows Requirements & CI 2020-12-28 20:59:01 -06:00
CREDITS Remove icon credits from about box 2020-10-28 02:18:41 +01:00
LICENSE Change license from BSD to GPLv3 2015-01-04 09:59:08 -05:00
macos.md Update for macos Qt version 2020-12-30 16:44:27 -06:00
Makefile Clean up Makefile & unused files 2020-12-29 14:08:37 -06:00
package.py Fix flake8 issues introduced in package.py 2020-12-30 20:04:14 -06:00
README.md Update README.md 2021-01-05 23:04:42 -06:00
requirements-extra.txt Update for macos Qt version 2020-12-30 16:44:27 -06:00
requirements.txt Update for macos Qt version 2020-12-30 16:44:27 -06:00
run.py More Test and Flake8 Cleanup 2020-06-27 01:08:12 -05:00
setup.nsi Update URLs 2021-01-05 23:21:44 -06:00
tox.ini Update Windows Requirements & CI 2020-12-28 20:59:01 -06:00
win_version_info.temp Update Windows Build 2019-03-24 21:35:34 -05:00
Windows.md Minor cleanup to Windows.md 2020-12-29 14:56:37 -06:00

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

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.

Prerequisites

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