Skip to content

Commit f0db3a4

Browse files
committed
Switched to pyproject.toml
1 parent 6b648ee commit f0db3a4

File tree

4 files changed

+24
-33
lines changed

4 files changed

+24
-33
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lint:
22
pycodestyle . --ignore=E501
33

44
publish: clean
5-
python3 setup.py bdist_wheel --universal
5+
python3 -m build
66
ls dist
77
twine upload dist/*
88
make clean

pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pgvector"
7+
version = "0.3.4"
8+
description = "pgvector support for Python"
9+
readme = "README.md"
10+
authors = [
11+
{name = "Andrew Kane", email = "[email protected]"}
12+
]
13+
license = {text = "MIT"}
14+
requires-python = ">= 3.8"
15+
dependencies = [
16+
"numpy"
17+
]
18+
19+
[project.urls]
20+
Homepage = "https://github.com/pgvector/pgvector-python"
21+
22+
[tool.pytest.ini_options]
23+
asyncio_mode = "auto"

pytest.ini

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

setup.py

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

0 commit comments

Comments
 (0)