Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (44 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (44 loc) · 1.62 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
[project]
name = "pgembed" # Required
version = "0.2.0" # Required
description = "Self-contained postgres server for your python applications" # Required
readme = "README.md" # Optional
requires-python = ">=3.12"
license = {file = "LICENSE.txt"}
urls={repository="https://github.com/Ladybug-Memory/pgembed"}
authors=[{ name="Oscar Moll", email="orm@csail.mit.edu" }, { name="Arun Sharma", email="arun@sharma-home.net" }]
keywords=["postgresql", "pgvector", "pg_duckdb", "pgembed", "pg_textsearch", "rag", "pgsql-http"]
dependencies = [
"fasteners>=0.19",
"platformdirs>=4.0.0",
"psutil>=5.9.0",
]
[project.optional-dependencies]
dev = [
"sysv_ipc",
]
# NB: sqlalchemy-utils 0.42.1 (latest) is incompatible with sqlalchemy >= 2.1
# (uses the removed sqlalchemy.orm.attributes.ScalarAttributeImpl),
# so cap sqlalchemy until sqlalchemy-utils supports 2.1.
test = [
"pytest",
"psycopg2-binary",
"sqlalchemy>=2,<2.1",
"sqlalchemy-utils"
]
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["pgembed*", "pgembed_pg*"] # package names should match these glob patterns
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"no_server_required: test runs without built PostgreSQL binaries (lightweight CI)",
]
[tool.cibuildwheel]
test-extras = "test"
test-command = "bash -x {project}/cibuildwheel_test.bash {project}"
[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"