-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (32 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
37 lines (32 loc) · 1.08 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
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "docpler"
version = "1.0.0"
description = "Convert HWP (and more) documents to Markdown"
requires-python = ">=3.9"
license = { text = "BSL-1.1" }
authors = [{ name = "rightstack" }]
keywords = ["hwp", "markdown", "document", "converter"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Markup",
]
dependencies = []
[project.optional-dependencies]
markitdown = ["markitdown>=0.0.1"]
[project.urls]
Repository = "https://github.com/docpler/docpler-python"
# markitdown 플러그인으로 자동 등록
[project.entry-points."markitdown.plugin"]
docpler = "docpler.hwp:HwpConverterPlugin"
[tool.maturin]
# Rust 소스는 private repo(rightstack/docpler)에서 빌드
# maturin build 시 --manifest-path 로 Rust crate 경로를 지정
python-source = "python"
module-name = "docpler._docpler"
features = ["pyo3/extension-module"]