From e54fac8aa4b7d2ecf3775459e2f47768e1776b02 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sun, 6 Jul 2025 17:08:40 +0500 Subject: [PATCH] feat: exclude custom_data from package Signed-off-by: Boris Yumankulov --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f77a17d..51408b6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks -exclude: '(data/|documentation/|portprotonqt/locales/|dev-scripts/|\.venv/|venv/|.*\.svg$)' +exclude: '(data/|documentation/|portprotonqt/locales/|portprotonqt/custom_data/|dev-scripts/|\.venv/|venv/|.*\.svg$)' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 diff --git a/pyproject.toml b/pyproject.toml index 3b65dbb..d399f0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ dependencies = [ portprotonqt = "portprotonqt.app:main" [tool.setuptools.package-data] -"portprotonqt" = ["themes/**/*", "locales/**/*", "custom_data/**/*"] +"portprotonqt" = ["themes/**/*", "locales/**/*"] [tool.setuptools.packages.find] exclude = ["build-aux", "dev-scripts", "documentation", "data"]