forked from orm011/pgserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 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
[project]
name = "pgserver-search" # Required
version = "0.1.6" # Required
description = "Self-contained Postgres (with pg_trgm, pgvector, and btree_gist) for Python applications" # Required
readme = "README.md" # Optional
requires-python = ">=3.9"
license = {file = "LICENSE"}
urls = {repository = "https://github.com/stantonius/pgserver-search", upstream = "https://github.com/orm011/pgserver"}
authors = [
{ name="Oscar Moll", email="[email protected]" },
{ name="stantonius", email="[email protected]" },
]
keywords = ["postgresql", "pgvector", "pg_trgm", "btree_gist", "pgserver", "rag"]
dependencies = [
"fasteners>=0.19",
"platformdirs>=4.0.0",
"psutil>=5.9.0",
]
[project.optional-dependencies]
dev = [
"sysv_ipc",
]
test = [
"pytest",
"psycopg2-binary",
"sqlalchemy>=2",
"sqlalchemy-utils"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["pgserver*"] # package names should match these glob patterns (["*"] by default)
[tool.setuptools.package-data]
# Ship the bundled Postgres (built by pgbuild/Makefile via the setup.py
# build hook) inside the wheel so the package works after pip install.
pgserver = ["pginstall/**/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.cibuildwheel]
before-all = "make"
test-extras = "test"
test-command = "bash -x {project}/cibuildwheel_test.bash {project}"
[tool.cibuildwheel.linux]
# manylinux docker images don't ship flex/bison; Postgres' configure needs both.
before-all = "yum install -y flex bison && make"
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
requires = ["setuptools>=58.0.0", "wheel"]
build-backend = "setuptools.build_meta"