Skip to content

Commit

Permalink
Switched to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 2, 2024
1 parent 6b648ee commit f0db3a4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lint:
pycodestyle . --ignore=E501

publish: clean
python3 setup.py bdist_wheel --universal
python3 -m build
ls dist
twine upload dist/*
make clean
Expand Down
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "pgvector"
version = "0.3.4"
description = "pgvector support for Python"
readme = "README.md"
authors = [
{name = "Andrew Kane", email = "andrew@ankane.org"}
]
license = {text = "MIT"}
requires-python = ">= 3.8"
dependencies = [
"numpy"
]

[project.urls]
Homepage = "https://github.com/pgvector/pgvector-python"

[tool.pytest.ini_options]
asyncio_mode = "auto"
2 changes: 0 additions & 2 deletions pytest.ini

This file was deleted.

30 changes: 0 additions & 30 deletions setup.py

This file was deleted.

0 comments on commit f0db3a4

Please sign in to comment.