-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
81 lines (71 loc) · 2.31 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
# PEP 621 project metadata configuration
# For more information, see https://www.python.org/dev/peps/pep-0621/
[project]
name = "crawler-to-md"
dynamic = ["version"]
description = "Convert web content to Markdown & JSON files to fuel your GPTs and agent AI!"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Grégoire Compagnon (obeone)", email = "obeone@obeone.org" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
# Project dependencies with exact versions for reproducibility
dependencies = [
"mdformat==0.7.22",
"mdformat-gfm==0.4.1",
"mdformat_footnote==0.1.1",
"mdformat_frontmatter==2.0.8",
"mdformat_tables==1.0.0",
"requests[socks]==2.32.4",
"tqdm==4.67.1",
"markitdown==0.1.2",
"coloredlogs==15.0.1",
"beautifulsoup4==4.13.4",
"argcomplete==3.6.2",
]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
# Optional dependencies for additional features or development
# Uncomment and customize as needed
# [project.optional-dependencies]
# dev = ["pytest", "ruff"]
# Entry points for command-line interface scripts
[project.scripts]
crawler-to-md = "crawler_to_md.cli:main"
# URLs related to the project repository and issue tracker
[project.urls]
Homepage = "https://github.com/obeone/crawler-to-md"
Bug_Tracker = "https://github.com/obeone/crawler-to-md/issues"
# Build system configuration using setuptools
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
# Setuptools package discovery configuration
[tool.setuptools.packages.find]
where = ["."]
include = ["crawler_to_md*"]
# Ruff linter configuration for code style enforcement
# See https://docs.astral.sh/ruff/configuration/
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
# Pytest configuration for running tests
# See https://docs.pytest.org/en/latest/reference/reference.html#configuration-options
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]