repdf 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- repdf-0.0.8/PKG-INFO +104 -0
- repdf-0.0.8/README.md +90 -0
- repdf-0.0.8/pyproject.toml +35 -0
- repdf-0.0.8/pyproject.toml.orig +38 -0
- repdf-0.0.8/src/repdf/__init__.py +5 -0
- repdf-0.0.8/src/repdf/__main__.py +5 -0
- repdf-0.0.8/src/repdf/app.py +860 -0
- repdf-0.0.8/src/repdf/assets/check.svg +1 -0
- repdf-0.0.8/src/repdf/assets/partial.svg +1 -0
- repdf-0.0.8/src/repdf/assets/repdf.ico +0 -0
- repdf-0.0.8/src/repdf/assets/repdf.png +0 -0
- repdf-0.0.8/src/repdf/core.py +224 -0
- repdf-0.0.8/src/repdf/entrypoint.py +19 -0
- repdf-0.0.8/src/repdf/icons.py +81 -0
- repdf-0.0.8/src/repdf/packaging_smoke.py +97 -0
- repdf-0.0.8/src/repdf/preferences.py +79 -0
- repdf-0.0.8/src/repdf/render_worker.py +94 -0
- repdf-0.0.8/src/repdf/renderer.py +169 -0
- repdf-0.0.8/src/repdf/strings.py +107 -0
- repdf-0.0.8/src/repdf/theme.py +134 -0
- repdf-0.0.8/src/repdf/widgets.py +276 -0
- repdf-0.0.8/src/repdf/workers.py +61 -0
repdf-0.0.8/PKG-INFO
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: repdf
|
|
3
|
+
Version: 0.0.8
|
|
4
|
+
Summary: Select and recombine pages from a PDF with a desktop GUI.
|
|
5
|
+
Requires-Dist: pillow>=11.0,<13
|
|
6
|
+
Requires-Dist: pypdf>=5.0,<7
|
|
7
|
+
Requires-Dist: pypdfium2>=4.30,<6
|
|
8
|
+
Requires-Dist: pyside6>=6.8,<7
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Project-URL: Homepage, https://github.com/codemee/repdf
|
|
11
|
+
Project-URL: Repository, https://github.com/codemee/repdf
|
|
12
|
+
Project-URL: Issues, https://github.com/codemee/repdf/issues
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# repdf — PDF 選頁重組工具
|
|
16
|
+
|
|
17
|
+
使用 PySide6 製作的 Windows 桌面工具,可用標籤頁開啟多個 PDF、勾選指定頁面,並依標籤與頁面排列順序重組或拆分輸出。預覽縮圖不會影響輸出品質。
|
|
18
|
+
|
|
19
|
+
## 安裝與啟動
|
|
20
|
+
|
|
21
|
+
### 1. 下載發布的執行檔/App(建議)
|
|
22
|
+
|
|
23
|
+
從 [GitHub Releases](https://github.com/codemee/repdf/releases/latest) 下載適合平台的檔案,不需要安裝 Python 或 uv:
|
|
24
|
+
|
|
25
|
+
- **Windows x86_64**:下載 `repdf-<版本>-windows-x86_64.exe`,直接執行。
|
|
26
|
+
- **macOS Apple Silicon(arm64)**:下載 `repdf-<版本>-macos-arm64.dmg`,開啟後將 `repdf.app` 拖入 Applications,再從 Applications 啟動。
|
|
27
|
+
|
|
28
|
+
既有 `v0.0.7` 及較早的 Release 仍使用 `PDFPick` 檔名與 `PDFPick.app`;`repdf` 檔名會從重新命名後的新版本開始採用。
|
|
29
|
+
|
|
30
|
+
Release 同時提供 SHA256 校驗檔。簽章與打包資訊見下方「Windows 執行檔與 macOS App/DMG」。
|
|
31
|
+
|
|
32
|
+
### 2. 使用 uv tool 安裝
|
|
33
|
+
|
|
34
|
+
已有 [uv](https://docs.astral.sh/uv/) 時,可從 PyPI 安裝到獨立工具環境:
|
|
35
|
+
|
|
36
|
+
```powershell
|
|
37
|
+
uv tool install repdf
|
|
38
|
+
repdf
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
需要 Python 3.11 以上版本;uv 可在需要時下載適用的 Python。也可使用 Release 的 `repdf` wheel 下載網址安裝。若終端機找不到 `repdf`,執行 `uv tool update-shell` 後重新開啟終端機。既有舊版 wheel 仍安裝為 `pdfpick` 指令。
|
|
42
|
+
|
|
43
|
+
### 3. 從原始碼使用 uv run
|
|
44
|
+
|
|
45
|
+
適合開發或修改程式。下載原始碼,或 clone 本儲存庫後,進入專案目錄執行:
|
|
46
|
+
|
|
47
|
+
```powershell
|
|
48
|
+
uv sync
|
|
49
|
+
uv run repdf
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## 操作方式
|
|
53
|
+
|
|
54
|
+
工具列按鈕的圖示與用途如下;將游標停在按鈕上也可查看 tooltip。
|
|
55
|
+
|
|
56
|
+
| 工具列圖示/控制元件 | 功能 | 操作說明 | 快捷鍵 |
|
|
57
|
+
| --- | --- | --- | --- |
|
|
58
|
+
| <img src="docs/images/toolbar-open.png" width="24" alt="開啟 PDF 圖示"> | 開啟 PDF | 一次選取多個 PDF,也可從檔案總管拖入。 | Ctrl+O |
|
|
59
|
+
| <img src="docs/images/toolbar-export.png" width="24" alt="重組輸出圖示"> | 重組輸出 | 將選取頁面依目前順序合併為一個新 PDF,指定檔名與儲存位置。 | Ctrl+S/Ctrl+Shift+S |
|
|
60
|
+
| <img src="docs/images/toolbar-split.png" width="24" alt="拆分輸出圖示"> | 拆分輸出 | 將選取頁面依目前順序逐頁存成獨立 PDF,指定基本檔名與儲存位置。 | — |
|
|
61
|
+
| <img src="docs/images/toolbar-odd.png" height="22" alt="單數頁核取方塊"> | 單數頁 | 選取或取消目前標籤的原始單數頁;部分選取時顯示三態標記。 | — |
|
|
62
|
+
| <img src="docs/images/toolbar-even.png" height="22" alt="雙數頁核取方塊"> | 雙數頁 | 選取或取消目前標籤的原始雙數頁;部分選取時顯示三態標記。 | — |
|
|
63
|
+
| <img src="docs/images/toolbar-zoom.png" width="160" alt="顯示比例與縮放滑桿"> | 顯示比例 | 滑桿調整 25%–200%;點擊比例回到 100%。鍵盤縮放每次調整 25 個百分點,完整說明在比例的 tooltip。 | 放大:Ctrl++/Ctrl+=;縮小:Ctrl+-;100%:Ctrl+0 |
|
|
64
|
+
| <img src="docs/images/toolbar-language-system.png" width="24" alt="跟隨系統語言"> <img src="docs/images/toolbar-language-zh.png" width="24" alt="繁體中文"> <img src="docs/images/toolbar-language-en.png" width="24" alt="English"> | 介面語言 | 點擊依序切換「跟隨系統 → 繁體中文 → English」,選擇會記住。 | — |
|
|
65
|
+
| <img src="docs/images/toolbar-theme-system.png" width="24" alt="跟隨系統配色:太陽與月亮"> <img src="docs/images/toolbar-theme-light.png" width="24" alt="淺色:太陽"> <img src="docs/images/toolbar-theme-dark.png" width="24" alt="深色:月亮"> | 介面配色 | 點擊依序切換「跟隨系統 → 淺色 → 深色」,選擇會記住。 | — |
|
|
66
|
+
|
|
67
|
+
各檔案以主檔名顯示在標籤頁,完整路徑顯示於目前標籤的視窗標題列與標籤 tooltip。同一路徑再次開啟會切換到既有標籤。各檔案獨立保留比例、捲動位置、選頁與頁面排序;100% 對應 Windows 的 96 DPI 顯示尺度。
|
|
68
|
+
|
|
69
|
+
點選各頁左上角的核取方塊可個別選頁。拖曳頁面縮圖或「拖曳排序」把手時,縮圖會跟隨游標,其他頁面以動畫移開並顯示插入空位。移到頁面左半部可插入其前方,右半部可插入其後方;放開確認排序,按 Esc 取消。
|
|
70
|
+
|
|
71
|
+
拆分時,例如指定 `report.pdf`,會輸出 `report_01.pdf`、`report_02.pdf`。序號從 1 開始,至少兩位,依本次輸出總數補零對齊(100 頁使用 `001`–`100`),與原始頁碼無關。已存在的單頁檔案會先詢問是否覆蓋。
|
|
72
|
+
|
|
73
|
+
標籤左側核取方塊預設不勾選。有勾選標籤時,只輸出勾選檔案的已選頁面;沒有勾選任何標籤時,只輸出目前標籤的已選頁面。勾選檔案沒有選頁時不提供輸出頁面,不會自動改選目前檔案。拖曳標籤可調整檔案順序,輸出先依標籤順序,再依各檔內的頁面排序;拆分序號跨檔連續。按標籤右側的 × 可關閉檔案。
|
|
74
|
+
|
|
75
|
+
密碼保護的 PDF 暫不支援。輸出頁面依畫面排列順序;未勾選的頁面不會輸出。
|
|
76
|
+
|
|
77
|
+
## 語言與配色
|
|
78
|
+
|
|
79
|
+
工具列右側提供兩個三態按鈕,首次使用皆預設跟隨系統,點擊即可立即切換:
|
|
80
|
+
|
|
81
|
+
- 介面語言:跟隨系統 → 繁體中文 → English → 跟隨系統。系統顯示語言為中文時使用繁體中文,其他語言使用 English;tooltip 顯示目前模式與實際語言。
|
|
82
|
+
- 介面配色:跟隨系統 → 淺色 → 深色 → 跟隨系統。手動指定配色後不受系統配色變化影響,回到系統模式則即時跟隨。
|
|
83
|
+
|
|
84
|
+
選擇會記住,重新啟動仍保留。切換語言會更新既有頁面標籤、工具列、tooltip、標題、狀態與對話框,不改動檔名、選頁、頁序或比例。檔案對話框採用 Qt 介面,讓按鈕與欄位也能跟隨指定的中英文語言。
|
|
85
|
+
|
|
86
|
+
## 測試
|
|
87
|
+
|
|
88
|
+
```powershell
|
|
89
|
+
uv run pytest
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## 開發與維護
|
|
93
|
+
|
|
94
|
+
目前架構、背景預覽協定、縮放定義、輸出安全機制與修改入口整理於 [實作與維護指南](docs/IMPLEMENTATION.md)。
|
|
95
|
+
|
|
96
|
+
## Windows 執行檔與 macOS App/DMG
|
|
97
|
+
|
|
98
|
+
GitHub Actions 的「Build desktop apps」會在 main 更新、PR 或 Release 發佈時打包,也可在 Actions 頁面以 Run workflow 手動執行並指定分支或標籤。Release 的標籤必須包含打包設定檔。
|
|
99
|
+
|
|
100
|
+
產物包含 Windows x86_64 單一 EXE、macOS Apple Silicon(arm64)DMG,以及 SHA256 校驗檔。手動執行與一般提交的產物可從 Actions 的 Artifacts 下載;Release 發佈時會自動附加到該 Release。DMG 中可將 repdf.app 拖入 Applications,不需要另外安裝 Python。
|
|
101
|
+
|
|
102
|
+
目前未設定 Windows 程式碼簽章或 macOS Developer ID 簽章/公證,因此下載後可能出現系統的安全提示;這些套件並非已公證的 macOS 發行版。
|
|
103
|
+
|
|
104
|
+
打包全程在 GitHub 雲端環境執行。流程會先驗證 Qt、圖示、背景 PDF 渲染與重排輸出;macOS 使用系統內建的 ditto 與 hdiutil 建立並驗證 DMG。Actions 產物保留 30 天。
|
repdf-0.0.8/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# repdf — PDF 選頁重組工具
|
|
2
|
+
|
|
3
|
+
使用 PySide6 製作的 Windows 桌面工具,可用標籤頁開啟多個 PDF、勾選指定頁面,並依標籤與頁面排列順序重組或拆分輸出。預覽縮圖不會影響輸出品質。
|
|
4
|
+
|
|
5
|
+
## 安裝與啟動
|
|
6
|
+
|
|
7
|
+
### 1. 下載發布的執行檔/App(建議)
|
|
8
|
+
|
|
9
|
+
從 [GitHub Releases](https://github.com/codemee/repdf/releases/latest) 下載適合平台的檔案,不需要安裝 Python 或 uv:
|
|
10
|
+
|
|
11
|
+
- **Windows x86_64**:下載 `repdf-<版本>-windows-x86_64.exe`,直接執行。
|
|
12
|
+
- **macOS Apple Silicon(arm64)**:下載 `repdf-<版本>-macos-arm64.dmg`,開啟後將 `repdf.app` 拖入 Applications,再從 Applications 啟動。
|
|
13
|
+
|
|
14
|
+
既有 `v0.0.7` 及較早的 Release 仍使用 `PDFPick` 檔名與 `PDFPick.app`;`repdf` 檔名會從重新命名後的新版本開始採用。
|
|
15
|
+
|
|
16
|
+
Release 同時提供 SHA256 校驗檔。簽章與打包資訊見下方「Windows 執行檔與 macOS App/DMG」。
|
|
17
|
+
|
|
18
|
+
### 2. 使用 uv tool 安裝
|
|
19
|
+
|
|
20
|
+
已有 [uv](https://docs.astral.sh/uv/) 時,可從 PyPI 安裝到獨立工具環境:
|
|
21
|
+
|
|
22
|
+
```powershell
|
|
23
|
+
uv tool install repdf
|
|
24
|
+
repdf
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
需要 Python 3.11 以上版本;uv 可在需要時下載適用的 Python。也可使用 Release 的 `repdf` wheel 下載網址安裝。若終端機找不到 `repdf`,執行 `uv tool update-shell` 後重新開啟終端機。既有舊版 wheel 仍安裝為 `pdfpick` 指令。
|
|
28
|
+
|
|
29
|
+
### 3. 從原始碼使用 uv run
|
|
30
|
+
|
|
31
|
+
適合開發或修改程式。下載原始碼,或 clone 本儲存庫後,進入專案目錄執行:
|
|
32
|
+
|
|
33
|
+
```powershell
|
|
34
|
+
uv sync
|
|
35
|
+
uv run repdf
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## 操作方式
|
|
39
|
+
|
|
40
|
+
工具列按鈕的圖示與用途如下;將游標停在按鈕上也可查看 tooltip。
|
|
41
|
+
|
|
42
|
+
| 工具列圖示/控制元件 | 功能 | 操作說明 | 快捷鍵 |
|
|
43
|
+
| --- | --- | --- | --- |
|
|
44
|
+
| <img src="docs/images/toolbar-open.png" width="24" alt="開啟 PDF 圖示"> | 開啟 PDF | 一次選取多個 PDF,也可從檔案總管拖入。 | Ctrl+O |
|
|
45
|
+
| <img src="docs/images/toolbar-export.png" width="24" alt="重組輸出圖示"> | 重組輸出 | 將選取頁面依目前順序合併為一個新 PDF,指定檔名與儲存位置。 | Ctrl+S/Ctrl+Shift+S |
|
|
46
|
+
| <img src="docs/images/toolbar-split.png" width="24" alt="拆分輸出圖示"> | 拆分輸出 | 將選取頁面依目前順序逐頁存成獨立 PDF,指定基本檔名與儲存位置。 | — |
|
|
47
|
+
| <img src="docs/images/toolbar-odd.png" height="22" alt="單數頁核取方塊"> | 單數頁 | 選取或取消目前標籤的原始單數頁;部分選取時顯示三態標記。 | — |
|
|
48
|
+
| <img src="docs/images/toolbar-even.png" height="22" alt="雙數頁核取方塊"> | 雙數頁 | 選取或取消目前標籤的原始雙數頁;部分選取時顯示三態標記。 | — |
|
|
49
|
+
| <img src="docs/images/toolbar-zoom.png" width="160" alt="顯示比例與縮放滑桿"> | 顯示比例 | 滑桿調整 25%–200%;點擊比例回到 100%。鍵盤縮放每次調整 25 個百分點,完整說明在比例的 tooltip。 | 放大:Ctrl++/Ctrl+=;縮小:Ctrl+-;100%:Ctrl+0 |
|
|
50
|
+
| <img src="docs/images/toolbar-language-system.png" width="24" alt="跟隨系統語言"> <img src="docs/images/toolbar-language-zh.png" width="24" alt="繁體中文"> <img src="docs/images/toolbar-language-en.png" width="24" alt="English"> | 介面語言 | 點擊依序切換「跟隨系統 → 繁體中文 → English」,選擇會記住。 | — |
|
|
51
|
+
| <img src="docs/images/toolbar-theme-system.png" width="24" alt="跟隨系統配色:太陽與月亮"> <img src="docs/images/toolbar-theme-light.png" width="24" alt="淺色:太陽"> <img src="docs/images/toolbar-theme-dark.png" width="24" alt="深色:月亮"> | 介面配色 | 點擊依序切換「跟隨系統 → 淺色 → 深色」,選擇會記住。 | — |
|
|
52
|
+
|
|
53
|
+
各檔案以主檔名顯示在標籤頁,完整路徑顯示於目前標籤的視窗標題列與標籤 tooltip。同一路徑再次開啟會切換到既有標籤。各檔案獨立保留比例、捲動位置、選頁與頁面排序;100% 對應 Windows 的 96 DPI 顯示尺度。
|
|
54
|
+
|
|
55
|
+
點選各頁左上角的核取方塊可個別選頁。拖曳頁面縮圖或「拖曳排序」把手時,縮圖會跟隨游標,其他頁面以動畫移開並顯示插入空位。移到頁面左半部可插入其前方,右半部可插入其後方;放開確認排序,按 Esc 取消。
|
|
56
|
+
|
|
57
|
+
拆分時,例如指定 `report.pdf`,會輸出 `report_01.pdf`、`report_02.pdf`。序號從 1 開始,至少兩位,依本次輸出總數補零對齊(100 頁使用 `001`–`100`),與原始頁碼無關。已存在的單頁檔案會先詢問是否覆蓋。
|
|
58
|
+
|
|
59
|
+
標籤左側核取方塊預設不勾選。有勾選標籤時,只輸出勾選檔案的已選頁面;沒有勾選任何標籤時,只輸出目前標籤的已選頁面。勾選檔案沒有選頁時不提供輸出頁面,不會自動改選目前檔案。拖曳標籤可調整檔案順序,輸出先依標籤順序,再依各檔內的頁面排序;拆分序號跨檔連續。按標籤右側的 × 可關閉檔案。
|
|
60
|
+
|
|
61
|
+
密碼保護的 PDF 暫不支援。輸出頁面依畫面排列順序;未勾選的頁面不會輸出。
|
|
62
|
+
|
|
63
|
+
## 語言與配色
|
|
64
|
+
|
|
65
|
+
工具列右側提供兩個三態按鈕,首次使用皆預設跟隨系統,點擊即可立即切換:
|
|
66
|
+
|
|
67
|
+
- 介面語言:跟隨系統 → 繁體中文 → English → 跟隨系統。系統顯示語言為中文時使用繁體中文,其他語言使用 English;tooltip 顯示目前模式與實際語言。
|
|
68
|
+
- 介面配色:跟隨系統 → 淺色 → 深色 → 跟隨系統。手動指定配色後不受系統配色變化影響,回到系統模式則即時跟隨。
|
|
69
|
+
|
|
70
|
+
選擇會記住,重新啟動仍保留。切換語言會更新既有頁面標籤、工具列、tooltip、標題、狀態與對話框,不改動檔名、選頁、頁序或比例。檔案對話框採用 Qt 介面,讓按鈕與欄位也能跟隨指定的中英文語言。
|
|
71
|
+
|
|
72
|
+
## 測試
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
uv run pytest
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## 開發與維護
|
|
79
|
+
|
|
80
|
+
目前架構、背景預覽協定、縮放定義、輸出安全機制與修改入口整理於 [實作與維護指南](docs/IMPLEMENTATION.md)。
|
|
81
|
+
|
|
82
|
+
## Windows 執行檔與 macOS App/DMG
|
|
83
|
+
|
|
84
|
+
GitHub Actions 的「Build desktop apps」會在 main 更新、PR 或 Release 發佈時打包,也可在 Actions 頁面以 Run workflow 手動執行並指定分支或標籤。Release 的標籤必須包含打包設定檔。
|
|
85
|
+
|
|
86
|
+
產物包含 Windows x86_64 單一 EXE、macOS Apple Silicon(arm64)DMG,以及 SHA256 校驗檔。手動執行與一般提交的產物可從 Actions 的 Artifacts 下載;Release 發佈時會自動附加到該 Release。DMG 中可將 repdf.app 拖入 Applications,不需要另外安裝 Python。
|
|
87
|
+
|
|
88
|
+
目前未設定 Windows 程式碼簽章或 macOS Developer ID 簽章/公證,因此下載後可能出現系統的安全提示;這些套件並非已公證的 macOS 發行版。
|
|
89
|
+
|
|
90
|
+
打包全程在 GitHub 雲端環境執行。流程會先驗證 Qt、圖示、背景 PDF 渲染與重排輸出;macOS 使用系統內建的 ditto 與 hdiutil 建立並驗證 DMG。Actions 產物保留 30 天。
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "repdf"
|
|
3
|
+
version = "0.0.8"
|
|
4
|
+
description = "Select and recombine pages from a PDF with a desktop GUI."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"pillow>=11.0,<13",
|
|
9
|
+
"pypdf>=5.0,<7",
|
|
10
|
+
"pypdfium2>=4.30,<6",
|
|
11
|
+
"pyside6>=6.8,<7",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://github.com/codemee/repdf"
|
|
16
|
+
Repository = "https://github.com/codemee/repdf"
|
|
17
|
+
Issues = "https://github.com/codemee/repdf/issues"
|
|
18
|
+
|
|
19
|
+
[project.scripts]
|
|
20
|
+
repdf = "repdf.entrypoint:main"
|
|
21
|
+
|
|
22
|
+
[dependency-groups]
|
|
23
|
+
build = ["pyinstaller>=6.16,<7"]
|
|
24
|
+
dev = [
|
|
25
|
+
"pytest>=8.3,<10",
|
|
26
|
+
"pytest-qt>=4.4,<5",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[build-system]
|
|
30
|
+
requires = ["uv_build>=0.9,<0.13"]
|
|
31
|
+
build-backend = "uv_build"
|
|
32
|
+
|
|
33
|
+
[tool.pytest.ini_options]
|
|
34
|
+
testpaths = ["tests"]
|
|
35
|
+
addopts = "-q"
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "repdf"
|
|
3
|
+
version = "0.0.8"
|
|
4
|
+
description = "Select and recombine pages from a PDF with a desktop GUI."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
"pillow>=11.0,<13",
|
|
10
|
+
"pypdf>=5.0,<7",
|
|
11
|
+
"pypdfium2>=4.30,<6",
|
|
12
|
+
"pyside6>=6.8,<7",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[project.urls]
|
|
16
|
+
Homepage = "https://github.com/codemee/repdf"
|
|
17
|
+
Repository = "https://github.com/codemee/repdf"
|
|
18
|
+
Issues = "https://github.com/codemee/repdf/issues"
|
|
19
|
+
|
|
20
|
+
[project.scripts]
|
|
21
|
+
repdf = "repdf.entrypoint:main"
|
|
22
|
+
|
|
23
|
+
[dependency-groups]
|
|
24
|
+
build = [
|
|
25
|
+
"pyinstaller>=6.16,<7",
|
|
26
|
+
]
|
|
27
|
+
dev = [
|
|
28
|
+
"pytest>=8.3,<10",
|
|
29
|
+
"pytest-qt>=4.4,<5",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[build-system]
|
|
33
|
+
requires = ["uv_build>=0.9,<0.13"]
|
|
34
|
+
build-backend = "uv_build"
|
|
35
|
+
|
|
36
|
+
[tool.pytest.ini_options]
|
|
37
|
+
testpaths = ["tests"]
|
|
38
|
+
addopts = "-q"
|