Skip to content

Commit 88fea69

Browse files
pyproject.toml is used (#3)
1 parent b03ef3f commit 88fea69

4 files changed

Lines changed: 57 additions & 39 deletions

File tree

pyproject.toml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools.package-dir]
6+
"testgres.operations" = "src"
7+
8+
[tool.flake8]
9+
extend-ignore = ["E501"]
10+
exclude = [".git", "__pycache__", "env", "venv"]
11+
12+
[project]
13+
name = "testgres.os_ops"
14+
version = "1.0.0"
15+
16+
description = "Testgres subsystem to work with OS"
17+
readme = "README.md"
18+
19+
# [2026-01-05]
20+
# This old format is used to ensure compatibility with Python 3.7.
21+
license = {text = "PostgreSQL"}
22+
23+
authors = [
24+
{name = "Postgres Professional", email = "testgres@postgrespro.ru"},
25+
]
26+
27+
keywords = [
28+
'testgres',
29+
]
30+
31+
requires-python = ">=3.7.17"
32+
33+
classifiers = [
34+
"Intended Audience :: Developers",
35+
"Operating System :: Unix",
36+
"Programming Language :: Python :: 3 :: Only",
37+
"Programming Language :: Python :: 3.7",
38+
"Programming Language :: Python :: 3.8",
39+
"Programming Language :: Python :: 3.9",
40+
"Programming Language :: Python :: 3.10",
41+
"Programming Language :: Python :: 3.11",
42+
"Programming Language :: Python :: 3.12",
43+
"Programming Language :: Python :: 3.13",
44+
"Programming Language :: Python :: 3.14",
45+
"Topic :: Software Development :: Libraries",
46+
"Topic :: Software Development :: Testing",
47+
]
48+
49+
dependencies = [
50+
"psutil",
51+
"six>=1.9.0",
52+
"testgres.common>=0.0.3,<1.0.0",
53+
]
54+
55+
[project.urls]
56+
"HomePage" = "https://github.com/postgrespro/testgres.os_ops"

setup.cfg

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

setup.py

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

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ six
55
testgres.common>=0.0.2,<1.0.0
66
black
77
flake8
8+
flake8-pyproject

0 commit comments

Comments
 (0)