mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-03-12 03:31:37 +00:00
Compare commits
2 Commits
as/pyproje
...
b171b16b61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b171b16b61 | ||
|
|
1b27d62578 |
@@ -183,7 +183,7 @@ msgstr "Contenu"
|
|||||||
|
|
||||||
#: core\pe\matchblock.py:66
|
#: core\pe\matchblock.py:66
|
||||||
msgid "Analyzed %d/%d pictures"
|
msgid "Analyzed %d/%d pictures"
|
||||||
msgstr "Analyzé %d/%d images"
|
msgstr "Analysé %d/%d images"
|
||||||
|
|
||||||
#: core\pe\matchblock.py:183
|
#: core\pe\matchblock.py:183
|
||||||
msgid "Performed %d/%d chunk matches"
|
msgid "Performed %d/%d chunk matches"
|
||||||
|
|||||||
@@ -1,86 +1,9 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools >= 75.3.1"]
|
requires = ["setuptools"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "dupeGuru"
|
|
||||||
description = "dupeGuru is a tool to find duplicate files on your computer."
|
|
||||||
authors = [
|
|
||||||
{name = "Andrew Senetar", email = "arsenetar@voltaicideas.net"}
|
|
||||||
]
|
|
||||||
readme = "README.md"
|
|
||||||
license = "GPL-3.0-or-later"
|
|
||||||
license-files = ["LICENSE"]
|
|
||||||
keywords = ["deduplication"]
|
|
||||||
classifiers = [
|
|
||||||
"Development Status :: 5 - Production/Stable",
|
|
||||||
"Intended Audience :: End Users/Desktop",
|
|
||||||
"Operating System :: MacOS :: MacOS X",
|
|
||||||
"Operating System :: Microsoft :: Windows",
|
|
||||||
"Operating System :: POSIX",
|
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Programming Language :: Python :: 3.12",
|
|
||||||
"Topic :: Desktop Environment :: File Managers",
|
|
||||||
]
|
|
||||||
requires-python = ">=3.7, <3.13"
|
|
||||||
|
|
||||||
dynamic = ["version"]
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
"distro>=1.8.0,<2.0.0",
|
|
||||||
"mutagen>=1.46.0,<2.0.0",
|
|
||||||
"polib>=1.1.0,<2.0.0",
|
|
||||||
"PyQt5 >=5.15.0,<6.0; sys_platform != 'linux'",
|
|
||||||
"pywin32>=304; sys_platform == 'win32'",
|
|
||||||
"semantic-version>=2.0.0,<3.0.0",
|
|
||||||
"Send2Trash>=1.8.2",
|
|
||||||
"xxhash>=3.0.0,<4.0.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
dev = [
|
|
||||||
"pytest>=7,<8",
|
|
||||||
"flake8",
|
|
||||||
"black",
|
|
||||||
]
|
|
||||||
build = [
|
|
||||||
"dupeGuru[dev]",
|
|
||||||
"sphinx>=5.3.0,<8.0.0",
|
|
||||||
"pyinstaller>=5.6,<6.0; sys_platform != 'linux'"
|
|
||||||
]
|
|
||||||
|
|
||||||
[project.urls]
|
|
||||||
Homepage = "https://dupeguru.voltaicideas.net/"
|
|
||||||
Documentation = "https://dupeguru.voltaicideas.net/help/en/"
|
|
||||||
Repository = "https://github.com/arsenetar/dupeguru.git"
|
|
||||||
Issues = "https://github.com/arsenetar/dupeguru/issues"
|
|
||||||
Releases = "https://github.com/arsenetar/dupeguru/releases"
|
|
||||||
|
|
||||||
[project.gui-scripts]
|
|
||||||
dupeguru = "dupeguru.__main__:main"
|
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
# make it compatible with black
|
# make it compatible with black
|
||||||
profile = "black"
|
profile = "black"
|
||||||
skip_gitignore = true
|
skip_gitignore = true
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
|
||||||
include = ["core", "hscommon", "qt"]
|
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
|
||||||
version = {attr = "core.__version__"}
|
|
||||||
|
|
||||||
[tool.setuptools]
|
|
||||||
ext-modules = [
|
|
||||||
{name = "core.pe._block", sources = ["core/pe/modules/block.c", "core/pe/modules/common.c"], include-dirs = ["core/pe/modules"]},
|
|
||||||
{name = "core.pe._cache", sources = ["core/pe/modules/cache.c", "core/pe/modules/common.c"], include-dirs = ["core/pe/modules"]},
|
|
||||||
{name = "qt.pe._block_qt", sources = ["qt/pe/modules/block.c"]},
|
|
||||||
]
|
|
||||||
|
|||||||
4
requirements-extra.txt
Normal file
4
requirements-extra.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
pytest>=7,<8
|
||||||
|
flake8
|
||||||
|
black
|
||||||
|
pyinstaller>=5.6,<6.0; sys_platform != 'linux'
|
||||||
9
requirements.txt
Normal file
9
requirements.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
distro>=1.8.0,<2.0.0
|
||||||
|
mutagen>=1.46.0,<2.0.0
|
||||||
|
polib>=1.1.0,<2.0.0
|
||||||
|
PyQt5 >=5.15.0,<6.0; sys_platform != 'linux'
|
||||||
|
pywin32>=304; sys_platform == 'win32'
|
||||||
|
semantic-version>=2.0.0,<3.0.0
|
||||||
|
Send2Trash>=1.8.2,<2.0.0
|
||||||
|
sphinx>=5.3.0,<8.0.0
|
||||||
|
xxhash>=3.0.0,<4.0.0
|
||||||
48
setup.cfg
Normal file
48
setup.cfg
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
[metadata]
|
||||||
|
name = dupeGuru
|
||||||
|
version = attr: core.__version__
|
||||||
|
url = https://github.com/arsenetar/dupeguru
|
||||||
|
project_urls =
|
||||||
|
Bug Reports = https://github.com/arsenetar/dupeguru/issues
|
||||||
|
author = Andrew Senetar
|
||||||
|
author_email = arsenetar@voltaicideas.net
|
||||||
|
license = GPLv3
|
||||||
|
license_files = license
|
||||||
|
description = dupeGuru is a tool to find duplicate files on your computer.
|
||||||
|
long_description = file:README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 5 - Production/Stable
|
||||||
|
Intended Audience :: End Users/Desktop
|
||||||
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||||
|
Operating System :: MacOS :: MacOS X
|
||||||
|
Operating System :: Microsoft :: Windows
|
||||||
|
Operating System :: POSIX
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: 3.10
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
|
Topic :: Desktop Environment :: File Managers
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.7
|
||||||
|
install_requires =
|
||||||
|
Send2Trash>=1.8.2,<2.0.0
|
||||||
|
mutagen>=1.46.0,<2.0.0
|
||||||
|
distro>=1.8.0,<2.0.0
|
||||||
|
PyQt5 >=5.15.0,<6.0; sys_platform != 'linux'
|
||||||
|
pywin32>=228; sys_platform == 'win32'
|
||||||
|
semantic-version>=2.0.0,<3.0.0
|
||||||
|
xxhash>=3.0.0,<4.0.0
|
||||||
|
setup_requires =
|
||||||
|
sphinx>=3.0.0
|
||||||
|
polib>=1.1.0
|
||||||
|
tests_require =
|
||||||
|
pytest >=6,<7
|
||||||
|
include_package_data = true
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
dupeguru = run.py
|
||||||
26
setup.py
Normal file
26
setup.py
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
from setuptools import setup, Extension
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
exts = [
|
||||||
|
Extension(
|
||||||
|
"core.pe._block",
|
||||||
|
[
|
||||||
|
str(Path("core", "pe", "modules", "block.c")),
|
||||||
|
str(Path("core", "pe", "modules", "common.c")),
|
||||||
|
],
|
||||||
|
include_dirs=[str(Path("core", "pe", "modules"))],
|
||||||
|
),
|
||||||
|
Extension(
|
||||||
|
"core.pe._cache",
|
||||||
|
[
|
||||||
|
str(Path("core", "pe", "modules", "cache.c")),
|
||||||
|
str(Path("core", "pe", "modules", "common.c")),
|
||||||
|
],
|
||||||
|
include_dirs=[str(Path("core", "pe", "modules"))],
|
||||||
|
),
|
||||||
|
Extension("qt.pe._block_qt", [str(Path("qt", "pe", "modules", "block.c"))]),
|
||||||
|
]
|
||||||
|
|
||||||
|
headers = [str(Path("core", "pe", "modules", "common.h"))]
|
||||||
|
|
||||||
|
setup(ext_modules=exts, headers=headers)
|
||||||
Reference in New Issue
Block a user