-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (48 loc) · 1.38 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "youtube-downloader-cli"
authors = [{ name = "duong", email = "[email protected]" }]
description = "CLI tool for download from YouTube"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
]
dynamic = ["version"]
dependencies = [
"click>=8.1.8",
"pyperclip==1.9.0",
"pytubefix>=8.12",
"questionary==2.1.0",
"rich>=13.9",
]
[project.urls]
Home = "https://github.com/duong-dt/youtube-downloader"
[project.scripts]
youtube-downloader = "youtube_downloader.__main__:main"
[project.optional-dependencies]
dev = ["ruff>=0.9.2"]
[tool.uv]
required-version = ">=0.5.21"
python-preference = "only-managed"
[tool.hatch.version]
path = "youtube_downloader/VERSION"
pattern = "(?P<version>.*)"
[tool.hatch.build.targets.wheel]
packages = ["youtube_downloader"]
[tool.hatch.build.targets.wheel.force-include]
"README.md" = "youtube_downloader/README"
[tool.ruff]
line-length = 99
[tool.ruff.lint]
extend-select = ["I", "TID252", "A", "UP", "PTH", "RUF", "ANN"]
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true