Files
coulobre/pyproject.toml
T

68 lines
2.0 KiB
TOML
Raw Normal View History

[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "coulobre-panel"
2026-12-01 13:05:46 +01:00
version = "1.0.0rc7"
description = "A web hosting control panel for hosting providers and resellers."
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
dependencies = [
"Django>=5.2.17,<5.3",
"django-otp>=1.7.5,<2",
2026-11-19 21:18:37 +01:00
"celery>=5.6,<6",
"cryptography>=50",
"dnspython>=2.9.2,<3",
"idna>=3.15,<4",
"markdown-it-py>=4.3,<5",
"qrcode>=8.2,<9",
]
[project.scripts]
coulobre-website-usage = "coulobre.web_node_usage:main"
coulobre-account-backup = "coulobre.account_backup:main"
coulobre-database-node = "coulobre.database_node:main"
2026-11-20 23:09:27 +01:00
coulobre-directadmin = "coulobre.directadmin:main"
coulobre-dns-node = "coulobre.dns_node:main"
coulobre-firewall = "coulobre.firewall:main"
coulobre-mail-node = "coulobre.mail_node:main"
coulobre-system-backup = "coulobre.system_backup:main"
coulobre-operator-node = "coulobre.operator_node:main"
coulobre-node-setup = "coulobre.node_setup:main"
coulobre-service-credentials = "coulobre.service_credentials:main"
coulobre-service-health = "coulobre.service_health:main"
coulobre-update = "coulobre.local_update:main"
coulobre-folder-sftp = "coulobre.web_node_folder_sftp:main"
coulobre-web-node = "coulobre.web_node:main"
[project.optional-dependencies]
dev = ["ruff==0.17.6"]
mariadb = ["mysqlclient>=2.2.1,<3"]
server = ["gunicorn>=27.0.1,<28"]
2026-11-19 21:18:37 +01:00
[tool.setuptools.package-data]
2026-11-19 21:30:25 +01:00
"coulobre.hosting" = [
"static/hosting/*.js",
2026-11-19 21:30:25 +01:00
"static/hosting/*.css",
2026-11-22 23:46:37 +01:00
"static/hosting/*.svg",
"static/hosting/*.png",
2026-11-19 21:30:25 +01:00
"templates/*.html",
"templates/hosting/*.conf",
"templates/hosting/*.html",
"templates/hosting/*.php",
"templates/hosting/*.txt",
2026-11-19 21:30:25 +01:00
]
2026-11-19 21:18:37 +01:00
[tool.ruff]
target-version = "py312"
line-length = 79
[tool.ruff.lint]
select = ["B", "DJ", "E", "F", "I", "N", "RUF100", "SIM", "UP", "W"]
# Internal records only need a string representation when displayed to users.
ignore = ["DJ008"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 72