2026-11-19 21:08:13 +01:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=77"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "coulobre-panel"
|
2026-11-24 15:20:33 +01:00
|
|
|
version = "1.0.0rc1"
|
2026-11-19 21:08:13 +01:00
|
|
|
description = "A web hosting control panel for hosting providers and resellers."
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.12"
|
|
|
|
|
license = "Apache-2.0"
|
|
|
|
|
dependencies = [
|
2026-11-23 00:20:18 +01:00
|
|
|
"Django>=5.2.17,<5.3",
|
2026-11-22 11:30:58 +01:00
|
|
|
"django-otp>=1.7.5,<2",
|
2026-11-19 21:18:37 +01:00
|
|
|
"celery>=5.6,<6",
|
2026-11-23 00:20:18 +01:00
|
|
|
"cryptography>=50",
|
|
|
|
|
"dnspython>=2.9.2,<3",
|
|
|
|
|
"idna>=3.15,<4",
|
2026-11-23 20:13:29 +01:00
|
|
|
"markdown-it-py>=4.3,<5",
|
2026-11-22 21:21:39 +01:00
|
|
|
"qrcode>=8.2,<9",
|
2026-11-19 21:08:13 +01:00
|
|
|
]
|
|
|
|
|
|
2026-11-19 21:44:15 +01:00
|
|
|
[project.scripts]
|
2026-11-22 17:51:05 +01:00
|
|
|
coulobre-website-usage = "coulobre.web_node_usage:main"
|
2026-11-21 12:02:41 +01:00
|
|
|
coulobre-account-backup = "coulobre.account_backup:main"
|
2026-11-19 22:40:47 +01:00
|
|
|
coulobre-database-node = "coulobre.database_node:main"
|
2026-11-20 23:09:27 +01:00
|
|
|
coulobre-directadmin = "coulobre.directadmin:main"
|
2026-11-19 23:06:25 +01:00
|
|
|
coulobre-dns-node = "coulobre.dns_node:main"
|
2026-11-22 00:35:34 +01:00
|
|
|
coulobre-firewall = "coulobre.firewall:main"
|
2026-11-19 23:24:40 +01:00
|
|
|
coulobre-mail-node = "coulobre.mail_node:main"
|
2026-11-23 23:27:02 +01:00
|
|
|
coulobre-system-backup = "coulobre.system_backup:main"
|
2026-11-23 22:31:20 +01:00
|
|
|
coulobre-operator-node = "coulobre.operator_node:main"
|
2026-11-22 00:16:11 +01:00
|
|
|
coulobre-node-setup = "coulobre.node_setup:main"
|
2026-11-21 16:27:07 +01:00
|
|
|
coulobre-service-credentials = "coulobre.service_credentials:main"
|
2026-11-21 17:43:17 +01:00
|
|
|
coulobre-service-health = "coulobre.service_health:main"
|
2026-11-22 22:54:41 +01:00
|
|
|
coulobre-update = "coulobre.local_update:main"
|
2026-11-23 23:02:32 +01:00
|
|
|
coulobre-folder-sftp = "coulobre.web_node_folder_sftp:main"
|
2026-11-19 21:44:15 +01:00
|
|
|
coulobre-web-node = "coulobre.web_node:main"
|
|
|
|
|
|
2026-11-19 21:08:13 +01:00
|
|
|
[project.optional-dependencies]
|
2026-11-21 02:12:32 +01:00
|
|
|
dev = ["ruff==0.17.6"]
|
2026-11-19 21:08:13 +01:00
|
|
|
mariadb = ["mysqlclient>=2.2.1,<3"]
|
2026-11-21 00:55:34 +01:00
|
|
|
server = ["gunicorn>=27.0.1,<28"]
|
2026-11-19 21:08:13 +01:00
|
|
|
|
2026-11-19 21:18:37 +01:00
|
|
|
[tool.setuptools.package-data]
|
2026-11-19 21:30:25 +01:00
|
|
|
"coulobre.hosting" = [
|
2026-11-21 16:27:07 +01:00
|
|
|
"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",
|
2026-11-24 13:34:43 +01:00
|
|
|
"static/hosting/*.png",
|
2026-11-19 21:30:25 +01:00
|
|
|
"templates/*.html",
|
|
|
|
|
"templates/hosting/*.conf",
|
|
|
|
|
"templates/hosting/*.html",
|
2026-11-19 21:35:59 +01:00
|
|
|
"templates/hosting/*.php",
|
2026-11-22 11:30:58 +01:00
|
|
|
"templates/hosting/*.txt",
|
2026-11-19 21:30:25 +01:00
|
|
|
]
|
2026-11-19 21:18:37 +01:00
|
|
|
|
2026-11-19 21:08:13 +01:00
|
|
|
[tool.ruff]
|
|
|
|
|
target-version = "py312"
|
2026-11-21 02:12:32 +01:00
|
|
|
line-length = 79
|
2026-11-19 21:08:13 +01:00
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
2026-11-21 02:12:32 +01:00
|
|
|
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
|