-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (99 loc) · 3.48 KB
/
pyproject.toml
File metadata and controls
120 lines (99 loc) · 3.48 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# ============================================================
# pyproject.toml — stellar 🌟
# High-quality image upscaling CLI tool
# https://github.com/pro-grammer-SD/stellar
# ============================================================
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
# ------------------------------------------------------------
# Project metadata
# ------------------------------------------------------------
[project]
name = "stellar"
version = "1.0.0"
description = "🌟 stellar — high-quality image upscaling from the command line"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [
{ name = "Soumalya Das", email = "geniussantu1983@gmail.com" },
]
keywords = [
"image", "upscale", "super-resolution", "PIL", "Pillow",
"OpenCV", "CLI", "typer", "batch",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Utilities",
]
# Runtime dependencies
dependencies = [
"Pillow>=10.0.0",
"opencv-python>=4.8.0",
"scikit-learn>=1.3.0",
"typer>=0.12.0",
"tqdm>=4.66.0",
"numpy>=1.26.0",
]
# Optional extras
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4.0",
"mypy>=1.10",
"build>=1.2",
"twine>=5.0",
]
# ------------------------------------------------------------
# CLI entry-point → `stellar` command maps to upscale()
# ------------------------------------------------------------
[project.scripts]
stellar = "stellar:app"
# ------------------------------------------------------------
# Project URLs
# ------------------------------------------------------------
[project.urls]
Homepage = "https://github.com/pro-grammer-SD/stellar"
Repository = "https://github.com/pro-grammer-SD/stellar"
"Bug Tracker" = "https://github.com/pro-grammer-SD/stellar/issues"
Changelog = "https://github.com/pro-grammer-SD/stellar/releases"
# ------------------------------------------------------------
# Setuptools configuration
# ------------------------------------------------------------
[tool.setuptools]
py-modules = ["stellar"] # single-module package (stellar.py at root)
# ------------------------------------------------------------
# Ruff (linter / formatter)
# ------------------------------------------------------------
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4", "SIM", "TCH"]
ignore = ["E501"]
# ------------------------------------------------------------
# Mypy
# ------------------------------------------------------------
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true
# ------------------------------------------------------------
# Pytest
# ------------------------------------------------------------
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"