Skip to content

Commit 4484fe8

Browse files
authored
Update package metadata and Read the Docs build configuration (#17)
* Add project metadata to pyproject.toml * Update Read the Docs configuration and add optional dependencies for documentation * Bump version to 0.2.3 in Cargo.toml
1 parent e7020ea commit 4484fe8

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

‎.readthedocs.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ version: 2
22

33
sphinx:
44
builder: html
5+
configuration: docs/source/conf.py
56

67
build:
7-
os: ubuntu-20.04
8+
os: ubuntu-24.04
89
tools:
9-
python: "3.9"
10-
rust: "1.64"
10+
python: latest
11+
rust: latest
1112

1213
python:
1314
install:
1415
- method: pip
1516
path: .
17+
extra_requirements:
18+
- docs

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python-vibrato"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2021"
55

66
[lib]

‎pyproject.toml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,18 @@ build-backend = "maturin"
66
name = "vibrato"
77
dynamic = ["version"]
88
requires-python = ">=3.10"
9+
description = "🎤 vibrato: VIterbi-Based acceleRAted TOkenizer"
10+
readme = "README.md"
11+
classifiers = [
12+
"License :: OSI Approved :: Apache Software License",
13+
"License :: OSI Approved :: MIT License",
14+
"Programming Language :: Rust",
15+
"Topic :: Software Development :: Libraries",
16+
"Topic :: Text Processing",
17+
]
18+
19+
[project.optional-dependencies]
20+
docs = [
21+
"sphinx",
22+
"sphinx-rtd-theme",
23+
]

0 commit comments

Comments
 (0)