-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (53 loc) · 1.85 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
[project]
name = "moss-chunking"
version = "0.0.1"
description = "Pluggable text chunking strategies that emit Moss DocumentInfo under a shared ID and metadata contract."
readme = "README.md"
requires-python = ">=3.10,<3.15"
license = { text = "BSD-2-Clause" }
authors = [{ name = "InferEdge Inc.", email = "contact@moss.dev" }]
keywords = ["moss", "chunking", "splitter", "retrieval", "rag"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Text Processing :: Linguistic",
]
# Most packages here declare `moss>=1.1.1`, but that floor cannot resolve: every
# moss release before 1.7.2 pins an `inferedge-moss-core` that is no longer on
# PyPI. 1.7.2 is the earliest version that actually installs, and the earliest
# whose `DocumentInfo` is verified to accept `payload`.
dependencies = [
"moss>=1.7.2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"python-dotenv>=1.0.0",
"ruff>=0.5.0",
]
[project.urls]
Homepage = "https://github.com/usemoss/moss"
Repository = "https://github.com/usemoss/moss"
Source = "https://github.com/usemoss/moss/tree/main/packages/moss-chunking"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
# Flat layout: src/ itself IS the package.
[tool.setuptools]
packages = ["moss_chunking"]
package-dir = { "moss_chunking" = "src" }
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "UP"]
[tool.pytest.ini_options]
asyncio_mode = "auto"