[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "bearhub"
description = "Community-maintained fork of bauh focused on modern Linux compatibility"
license = {file = "LICENSE"}
requires-python = ">=3.6"
dynamic = ["version"]
readme = "README.md"
authors = [
    {name = "Vinicius Moreira", email = "vinicius_fmoreira@hotmail.com"},
    {name = "Bearhub maintainers"}
]
classifiers = [
        'Topic :: Utilities',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: 3.11'
]

dependencies = [
    "pyqt5 >= 5.12",
    "requests >= 2.18",
    "colorama >= 0.3.8",
    "pyyaml >= 3.13",
    "python-dateutil >= 2.7"
]

[project.optional-dependencies]
web = [
    "lxml >= 4.2.0",
    "beautifulsoup4 >= 4.7.0"
]

[project.scripts]
bearhub = "bearhub.app:main"
bearhub-tray = "bearhub.app:tray"
bearhub-cli = "bearhub.cli.app:main"

[project.urls]
Repository = "https://github.com/spalencsar/bearhub"

[tool.setuptools]
license-files = ["LICENSE"]

[tool.setuptools.dynamic]
version = {attr = "bearhub.__version__"}

[tool.setuptools.packages.find]
exclude = ["tests.*", "tests"]

[tool.setuptools.package-data]
bearhub = ["desktop/*"]
bauh = [
    "view/resources/locale/*",
    "view/resources/img/*",
    "view/resources/style/*",
    "view/resources/style/*/img/*",
    "gems/*/resources/img/*",
    "gems/*/resources/locale/*",
]
