Skip to content

Commit d0fcb47

Browse files
committed
feat(packaging): migrate from setup.py to pyproject.toml
- Removed setup.py and transitioned to pyproject.toml for packaging. - Updated project metadata including dependencies and classifiers.
1 parent dc8bda0 commit d0fcb47

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
## 🟢 Medium Priority (Development & Tooling)
4242

4343
### Packaging & Tooling
44-
- [ ] Migrate from setup.py to pyproject.toml
44+
- [x] Migrate from setup.py to pyproject.toml
4545
- [x] Add mypy configuration
4646
- [x] Add ruff or black formatter
4747
- [x] Configure pre-commit hooks

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "sqlite-vec-client"
7+
version = "0.1.0"
8+
description = "A tiny Python client around sqlite-vec for CRUD and similarity search."
9+
readme = "README.md"
10+
requires-python = ">=3.9"
11+
license = {text = "MIT"}
12+
authors = [
13+
{name = "Ahmet Atasoglu", email = "[email protected]"}
14+
]
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
22+
"License :: OSI Approved :: MIT License",
23+
"Operating System :: OS Independent",
24+
]
25+
dependencies = [
26+
"sqlite-vec>=0.1.6",
27+
]
28+
29+
[project.urls]
30+
Homepage = "https://github.com/atasoglu/sqlite-vec-client"
31+
Repository = "https://github.com/atasoglu/sqlite-vec-client"
32+
33+
[tool.setuptools.packages.find]
34+
include = ["sqlite_vec_client*"]
35+
136
[tool.ruff]
237
line-length = 88
338
target-version = "py39"

setup.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)