mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-16 22:03:23 +00:00
Switch to pyproject.toml for Python dependencies
Introduce pyproject.toml as the single source of truth for Python dependencies. Remove legacy requirements.txt and simplify requirements.yml to Ansible collections only. Drop pytest in favor of the built-in unittest framework. https://chatgpt.com/share/693dbe8c-8b64-800f-a6e5-41b7d21ae7e0
This commit is contained in:
43
pyproject.toml
Normal file
43
pyproject.toml
Normal file
@@ -0,0 +1,43 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=68", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "infinito-nexus"
|
||||
version = "0.0.0"
|
||||
description = "Infinito.Nexus"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
license = { file = "LICENSE.md" }
|
||||
|
||||
dependencies = [
|
||||
"simpleaudio",
|
||||
"numpy",
|
||||
"ansible",
|
||||
"colorscheme-generator @ https://github.com/kevinveenbirkenbach/colorscheme-generator/archive/refs/tags/v0.3.0.zip",
|
||||
"bcrypt",
|
||||
"ruamel.yaml",
|
||||
"tld",
|
||||
"passlib",
|
||||
"requests",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
# Non-src layout: explicitly control packaged modules
|
||||
packages = { find = { where = ["."], include = [
|
||||
"cli*",
|
||||
"filter_plugins*",
|
||||
"lookup_plugins*",
|
||||
"module_utils*",
|
||||
"library*",
|
||||
], exclude = [
|
||||
"roles*",
|
||||
"assets*",
|
||||
"docs*",
|
||||
"templates*",
|
||||
"logs*",
|
||||
"tasks*",
|
||||
"tests*",
|
||||
"__pycache__*",
|
||||
] } }
|
||||
include-package-data = true
|
||||
@@ -1,9 +0,0 @@
|
||||
colorscheme-generator @ https://github.com/kevinveenbirkenbach/colorscheme-generator/archive/refs/tags/v0.3.0.zip
|
||||
numpy
|
||||
bcrypt
|
||||
ruamel.yaml
|
||||
tld
|
||||
passlib
|
||||
requests
|
||||
ansible
|
||||
pytest
|
||||
@@ -2,8 +2,3 @@ collections:
|
||||
- name: kewlfft.aur
|
||||
- name: community.general
|
||||
- name: hetzner.hcloud
|
||||
yay:
|
||||
- python-simpleaudio
|
||||
- python-numpy
|
||||
pacman:
|
||||
- ansible
|
||||
Reference in New Issue
Block a user