forked from orm011/pgserver
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
86 lines (74 loc) · 2.48 KB
/
pyproject.toml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[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==73.0.1", "wheel==0.44.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pixeltable-pgserver"
version = "0.2.9"
description = "Embedded Postgres Server for Pixeltable"
authors = [{ name = "Pixeltable, Inc.", email = "contact@pixeltable.com" }]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fasteners>=0.19",
"platformdirs>=4.0.0",
"psutil>=5.9.0",
]
[project.urls]
homepage = "https://pixeltable.com/"
repository = "https://github.com/pixeltable/pixeltable-pgserver"
documentation = "https://docs.pixeltable.com/"
[project.optional-dependencies]
dev = [
"ruff",
"sysv_ipc",
]
test = [
"pytest",
"psycopg[binary]>=3.1.18",
"sqlalchemy>=2",
"sqlalchemy-utils",
"mypy",
"types-psutil",
"types-sqlalchemy-utils",
]
[tool.isort]
line_length = 120
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["pixeltable_pgserver*"] # package names should match these glob patterns (["*"] by default)
[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]
before-all = "yum install -y readline-devel; make"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "E", "W", "C", "I", "N", "B", "A", "ICN", "PYI", "SIM", "TD002", "PL", "RUF"]
ignore = ["PLC0415", "PLR0904", "PLR0912", "PLR0913", "PLR0914", "PLR0915", "PLR2004"]
preview = true
[tool.ruff.lint.isort]
known-first-party = ["pixeltable_pgserver"]
[tool.ruff.format]
quote-style = "single" # can be "single", "double", or "preserve"