56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=77"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "coulobre-panel"
|
|
version = "0.4.0rc1"
|
|
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.8,<5.3",
|
|
"celery>=5.6,<6",
|
|
"cryptography>=45",
|
|
"dnspython>=2.7,<3",
|
|
"idna>=3,<4",
|
|
]
|
|
|
|
[project.scripts]
|
|
coulobre-account-backup = "coulobre.account_backup:main"
|
|
coulobre-database-node = "coulobre.database_node:main"
|
|
coulobre-directadmin = "coulobre.directadmin:main"
|
|
coulobre-dns-node = "coulobre.dns_node:main"
|
|
coulobre-mail-node = "coulobre.mail_node:main"
|
|
coulobre-service-credentials = "coulobre.service_credentials:main"
|
|
coulobre-service-health = "coulobre.service_health: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"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"coulobre.hosting" = [
|
|
"static/hosting/*.js",
|
|
"static/hosting/*.css",
|
|
"templates/*.html",
|
|
"templates/hosting/*.conf",
|
|
"templates/hosting/*.html",
|
|
"templates/hosting/*.php",
|
|
]
|
|
|
|
[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
|