Skip to content

Commit e2d5e84

Browse files
committed
switch to pyproject.toml
1 parent 2024db4 commit e2d5e84

File tree

4 files changed

+56
-49
lines changed

4 files changed

+56
-49
lines changed

img-lurker.py img_lurker.py

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
from requests.exceptions import HTTPError
2222

2323

24+
__version__ = "1.0.3"
25+
26+
2427
def get_content_type(response):
2528
response_type = response.headers.get('Content-Type')
2629
if not response_type:

pyproject.toml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "img-lurker"
7+
dynamic = ["version"]
8+
description = "Web gallery downloader"
9+
readme = "README.md"
10+
license = "WTFPL"
11+
requires-python = ">=3.6"
12+
keywords = [
13+
"image",
14+
"photo",
15+
"spider",
16+
"crawling",
17+
"download",
18+
"gallery",
19+
]
20+
classifiers = [
21+
"Development Status :: 5 - Production/Stable",
22+
"Environment :: Console",
23+
"Intended Audience :: End Users/Desktop",
24+
"License :: Public Domain",
25+
"Operating System :: OS Independent",
26+
"Programming Language :: Python",
27+
"Programming Language :: Python :: 3.6",
28+
"Programming Language :: Python :: 3.7",
29+
"Programming Language :: Python :: 3.8",
30+
"Topic :: Internet",
31+
"Topic :: Internet :: WWW/HTTP :: Browsers",
32+
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
33+
"Topic :: Multimedia :: Graphics",
34+
"Topic :: System :: Archiving",
35+
"Topic :: Utilities",
36+
]
37+
dependencies = [
38+
"woob",
39+
"Pillow",
40+
]
41+
42+
[[project.authors]]
43+
name = "Hg"
44+
45+
46+
[project.scripts]
47+
img-lurker = "img_lurker:main"
48+
49+
[project.urls]
50+
Homepage = "https://gitlab.com/hydrargyrum/img-lurker/"
51+
52+
[tool.hatch.version]
53+
path = "img_lurker.py"

setup.cfg

-43
This file was deleted.

setup.py

-6
This file was deleted.

0 commit comments

Comments
 (0)