-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.68 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (61 loc) · 1.68 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "codecanvas"
version = "1.0.0"
description = "🎨 CodeCanvas - Lightweight Code Screenshot Beautification & Social Sharing Engine | 轻量级代码截图美化与社交分享引擎"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [
{name = "gitstq"},
]
keywords = ["code", "screenshot", "beautification", "syntax-highlighting", "social-sharing"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"Pillow>=9.0.0",
"Pygments>=2.12.0",
]
[project.optional-dependencies]
web = []
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[project.scripts]
codecanvas = "codecanvas.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
codecanvas = [
"themes/*.yaml",
"themes/*.yml",
"templates/*.yaml",
"templates/*.yml",
"web/static/**/*",
"web/templates/**/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["codecanvas"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = false