Skip to content

Commit 840e472

Browse files
jet-logicjet-logic
authored andcommitted
pyproject.toml
1 parent ff09f1d commit 840e472

File tree

4 files changed

+52
-27
lines changed

4 files changed

+52
-27
lines changed

dupln/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Listing unique/duplicate files with various filters
99
"""
1010

11-
__version__ = "0.1.1"
11+
__version__ = "0.1.2"
1212

1313
from hashlib import md5
1414
from os.path import join, dirname, exists, samefile

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "dupln"
7+
description = "A Python package for finding and managing duplicate files using hardlinks"
8+
readme = "README.md"
9+
authors = [
10+
{name = "JetLogic"},
11+
]
12+
license = {text = "MIT"}
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Intended Audience :: Developers",
16+
"Intended Audience :: System Administrators",
17+
"License :: OSI Approved :: MIT License",
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Topic :: System :: Filesystems",
25+
"Topic :: Utilities",
26+
]
27+
keywords = ["duplicates", "hardlinks", "filesystem", "optimization"]
28+
requires-python = ">=3.8"
29+
dependencies = []
30+
dynamic = ["version"]
31+
32+
[project.scripts]
33+
dupln = "dupln.__main__:main"
34+
35+
[tool.setuptools.dynamic]
36+
version = {attr = "dupln.__init__.__version__"}
37+
38+
[project.urls]
39+
Homepage = "https://github.com/jet-logic/dupln"
40+
41+
[tool.setuptools]
42+
packages = ["dupln"]
43+
44+
[tool.setuptools.package-data]
45+
"dupln" = ["py.typed"]
46+
47+
48+
[tool.coverage.run]
49+
omit = ["dupln/findskel.py", "dupln/main.py", "dupln/walkdir.py"]

setup.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/test_dupln.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
)
1818

1919

20-
class TestCounter:
20+
class CounterMock:
2121
"""Mock counter class for testing"""
2222

2323
def __init__(self):
@@ -232,7 +232,7 @@ def test_get_linker():
232232
def test_list_duplicates_with_size_filter(temp_dir, capsys):
233233
"""Test listing duplicates with size filter"""
234234
db = {}
235-
tot = TestCounter()
235+
tot = CounterMock()
236236

237237
def statx(f):
238238
st = os.stat(f)

0 commit comments

Comments
 (0)