-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
95 lines (73 loc) · 2.16 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
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
[project]
name = "moxmoe-epub-manga-repacker"
version = "0.5.6"
description = "A manga repacker of EPUB comics downloaded from vol.moe/mox.moe/kox.moe."
authors = [
{ name = "Haoyi HAN", email = "54799247+Haoyi-Han@users.noreply.github.com" },
]
license = "MIT"
requires-python = ">=3.10"
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["rich", "lxml", "tenacity", "filedate", "nuitka"]
[tool.poetry]
name = "moxmoe-epub-manga-repacker"
version = "0.5.6"
description = "A manga repacker of EPUB comics downloaded from vol.moe/mox.moe/kox.moe."
authors = ["Haoyi HAN <54799247+Haoyi-Han@users.noreply.github.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
rich = "*"
lxml = "*"
tenacity = "*"
filedate = "*"
[tool.poetry.group.dev.dependencies]
pywin32 = "*"
comtypes = "*"
setuptools = "*"
nuitka = "*"
zstandard = "*"
[[tool.poetry.source]]
name = "mirrors"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
priority = "primary"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
[tool.pixi.dependencies]
python = ">=3.10"
rich = "*"
lxml = "*"
tenacity = "*"
nuitka = "*"
[tool.pixi.pypi-dependencies]
filedate = "*"
[tool.pixi.target.win-64.host-dependencies]
pywin32 = "*"
comtypes = "*"
[tool.pixi.tasks]
main = "python ./main.py"
clean = "python ./main.py -cl"
build = "make build BUILD_SYS=pixi"
[tool.pixi.target.win-64.tasks]
build = "pwsh ./make.ps1 build -e pixi"
[build-system]
# Uncomment the following two lines if you choose to use Poetry
# requires = ["poetry-core"]
# build-backend = "poetry.core.masonry.api"
# Uncomment the following two lines if you choose to use Pixi or Uv
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
# Uncomment the following two lines if you choose to use Hatch
# requires = ["hatchling"]
# build-backend = "hatchling.build"
[tool.ruff]
select = ["I"]