Skip to content

Commit ae10de4

Browse files
everpcpcshincurry
authored andcommitted
chore: replace setup.py with pyproject.toml
1 parent c6e5ed4 commit ae10de4

File tree

3 files changed

+29
-32
lines changed

3 files changed

+29
-32
lines changed

comicepub/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.3"
1+
__version__ = "0.2.4"

pyproject.toml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "comicepub"
7+
description = "Japanese comic EPUB3 generate tool"
8+
readme = "README.md"
9+
requires-python = ">=3.7, < 3.13"
10+
license = { file = "LICENSE" }
11+
authors = [{ name = "ShinCurry", email = "[email protected]" }]
12+
classifiers = [
13+
"Programming Language :: Python :: 3",
14+
"License :: OSI Approved :: MIT License",
15+
"Operating System :: OS Independent",
16+
]
17+
dependencies = ["Jinja2>=2.10.1"]
18+
dynamic = ["version"]
19+
20+
[project.urls]
21+
Homepage = "https://github.com/moeoverflow/comicepub"
22+
Source = "https://github.com/pypa/comicepub/"
23+
24+
[project.scripts]
25+
comicepub = "comicepub.cli:main"
26+
27+
[tool.setuptools.dynamic]
28+
version = { attr = "comicepub.__version__.__version__" }

setup.py

-31
This file was deleted.

0 commit comments

Comments
 (0)