- Add GitHub Actions workflow to run make test - Introduce pyproject.toml with python-ldap dependency and CLI entrypoint - Add Makefile with install/test/clean targets - Move tests to src-based package layout and fix imports - Remove legacy requirements.yml https://chatgpt.com/share/695d2615-d664-800f-b821-5705c631bfe8
29 lines
531 B
TOML
29 lines
531 B
TOML
[build-system]
|
|
requires = ["setuptools>=69", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "ldapsm"
|
|
version = "0.1.0"
|
|
description = "CLI tool to manage OpenLDAP schema snippets under cn=config"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = { text = "MIT" }
|
|
|
|
authors = [
|
|
{ name = "Kevin Veen-Birkenbach" }
|
|
]
|
|
|
|
dependencies = [
|
|
"python-ldap>=3.4",
|
|
]
|
|
|
|
[project.scripts]
|
|
ldapsm = "ldapsm.__main__:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|