CTKFileDialog-plus 2.1.1__tar.gz → 2.2.1__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.
Files changed (56) hide show
  1. {ctkfiledialog_plus-2.1.1/CTkFileDialog_plus.egg-info → ctkfiledialog_plus-2.2.1/CTKFileDialog_plus.egg-info}/PKG-INFO +12 -11
  2. ctkfiledialog_plus-2.2.1/CTKFileDialog_plus.egg-info/SOURCES.txt +53 -0
  3. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/_IconsMini/file.png +0 -0
  4. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/_IconsMini/folder.png +0 -0
  5. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/bash.png +0 -0
  6. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/conf.png +0 -0
  7. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/css.png +0 -0
  8. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/exe.png +0 -0
  9. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/folder.png +0 -0
  10. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/gz.png +0 -0
  11. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/html.png +0 -0
  12. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/image.png +0 -0
  13. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/ini.png +0 -0
  14. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/javascript.png +0 -0
  15. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/js.png +0 -0
  16. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/json.png +0 -0
  17. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/markdown.png +0 -0
  18. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/odt.png +0 -0
  19. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/pdf.png +0 -0
  20. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/php.png +0 -0
  21. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/python.png +0 -0
  22. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/text.png +0 -0
  23. ctkfiledialog_plus-2.2.1/CTkFileDialog/icons/video.png +0 -0
  24. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/ui/default_dialog.py +38 -15
  25. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/ui/mini_dialog.py +28 -1
  26. ctkfiledialog_plus-2.2.1/MANIFEST.in +3 -0
  27. ctkfiledialog_plus-2.1.1/README.md → ctkfiledialog_plus-2.2.1/PKG-INFO +29 -0
  28. ctkfiledialog_plus-2.1.1/PKG-INFO → ctkfiledialog_plus-2.2.1/README.md +10 -28
  29. ctkfiledialog_plus-2.2.1/pyproject.toml +22 -0
  30. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/setup.py +1 -1
  31. ctkfiledialog_plus-2.1.1/CTkFileDialog_plus.egg-info/SOURCES.txt +0 -30
  32. {ctkfiledialog_plus-2.1.1/CTkFileDialog_plus.egg-info → ctkfiledialog_plus-2.2.1/CTKFileDialog_plus.egg-info}/dependency_links.txt +0 -0
  33. {ctkfiledialog_plus-2.1.1/CTkFileDialog_plus.egg-info → ctkfiledialog_plus-2.2.1/CTKFileDialog_plus.egg-info}/requires.txt +0 -0
  34. {ctkfiledialog_plus-2.1.1/CTkFileDialog_plus.egg-info → ctkfiledialog_plus-2.2.1/CTKFileDialog_plus.egg-info}/top_level.txt +0 -0
  35. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/Constants/__init__.py +0 -0
  36. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/Constants/constants.py +0 -0
  37. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/Dialog.py +0 -0
  38. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/__init__.py +0 -0
  39. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/_functions.py +0 -0
  40. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/_system.py +0 -0
  41. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/core/__init__.py +0 -0
  42. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/core/filesystem.py +0 -0
  43. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/core/search.py +0 -0
  44. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/core/sorting.py +0 -0
  45. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/preview/__init__.py +0 -0
  46. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/preview/media.py +0 -0
  47. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/resources/__init__.py +0 -0
  48. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/resources/icons.py +0 -0
  49. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/system/__init__.py +0 -0
  50. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/system/platform.py +0 -0
  51. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/ui/__init__.py +0 -0
  52. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/ui/tooltip.py +0 -0
  53. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/utils/__init__.py +0 -0
  54. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/CTkFileDialog/utils/helpers.py +0 -0
  55. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/LICENSE +0 -0
  56. {ctkfiledialog_plus-2.1.1 → ctkfiledialog_plus-2.2.1}/setup.cfg +0 -0
@@ -1,12 +1,9 @@
1
1
  Metadata-Version: 2.4
2
- Name: CTkFileDialog-plus
3
- Version: 2.1.1
2
+ Name: CTKFileDialog-plus
3
+ Version: 2.2.1
4
4
  Summary: A modern file dialog for CustomTkinter
5
5
  Home-page: https://github.com/hmidani-abdelilah/CTkFileDialog-plus
6
6
  Author: abdelilah
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
7
  Requires-Python: >=3.7
11
8
  Description-Content-Type: text/markdown
12
9
  License-File: LICENSE
@@ -16,17 +13,18 @@ Requires-Dist: opencv-python
16
13
  Requires-Dist: CTkMessagebox
17
14
  Requires-Dist: CTkToolTip
18
15
  Requires-Dist: typeguard
19
- Dynamic: author
20
- Dynamic: classifier
21
- Dynamic: description
22
- Dynamic: description-content-type
23
16
  Dynamic: home-page
24
17
  Dynamic: license-file
25
- Dynamic: requires-dist
26
18
  Dynamic: requires-python
27
- Dynamic: summary
28
19
 
29
20
  <h1 align="center">CTkFileDialog</h1>
21
+ <div align="center">
22
+
23
+ [![Python](https://img.shields.io/badge/Python-3.14-blueviolet.svg?logo=python&logoColor=white)](https://www.python.org/)
24
+ [![MIT License](https://img.shields.io/badge/License-MIT-orange.svg?logo=MIT)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus?tab=MIT-1-ov-file)
25
+ [![PyPI](https://img.shields.io/badge/PyPI%20Project-775A9.svg?logo=PyPI)](https://pypi.org/project/CTkFileDialog-plus/)
26
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/ctkfiledialog-plus?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLUE&right_color=GREEN&left_text=PyPI%20downloads)](https://pepy.tech/projects/ctkfiledialog-plus)
27
+ [![Bugs Report](https://img.shields.io/badge/Issues-Report%20a%20bug-important?logo=github&logoColor=white)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus/issues) </div>
30
28
 
31
29
  <h3 align="center">A modern and fully customizable File Dialog for CustomTkinter — a must-have extension pack!</h3>
32
30
 
@@ -356,6 +354,9 @@ def save_as_filename():
356
354
  # You can also auto-append an extension if the user doesn't type one:
357
355
  # path = asksaveasfilename(autocomplete=True, defaultext=".txt")
358
356
 
357
+ # Save dialogs provide separate fields for the destination folder and file name
358
+ # in both Default and Mini styles.
359
+
359
360
  app = ctk.CTk()
360
361
  app.title("asksaveasfilename Demo")
361
362
  app.geometry("500x200")
@@ -0,0 +1,53 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.py
6
+ CTKFileDialog_plus.egg-info/PKG-INFO
7
+ CTKFileDialog_plus.egg-info/SOURCES.txt
8
+ CTKFileDialog_plus.egg-info/dependency_links.txt
9
+ CTKFileDialog_plus.egg-info/requires.txt
10
+ CTKFileDialog_plus.egg-info/top_level.txt
11
+ CTkFileDialog/Dialog.py
12
+ CTkFileDialog/__init__.py
13
+ CTkFileDialog/_functions.py
14
+ CTkFileDialog/_system.py
15
+ CTkFileDialog/Constants/__init__.py
16
+ CTkFileDialog/Constants/constants.py
17
+ CTkFileDialog/core/__init__.py
18
+ CTkFileDialog/core/filesystem.py
19
+ CTkFileDialog/core/search.py
20
+ CTkFileDialog/core/sorting.py
21
+ CTkFileDialog/icons/bash.png
22
+ CTkFileDialog/icons/conf.png
23
+ CTkFileDialog/icons/css.png
24
+ CTkFileDialog/icons/exe.png
25
+ CTkFileDialog/icons/folder.png
26
+ CTkFileDialog/icons/gz.png
27
+ CTkFileDialog/icons/html.png
28
+ CTkFileDialog/icons/image.png
29
+ CTkFileDialog/icons/ini.png
30
+ CTkFileDialog/icons/javascript.png
31
+ CTkFileDialog/icons/js.png
32
+ CTkFileDialog/icons/json.png
33
+ CTkFileDialog/icons/markdown.png
34
+ CTkFileDialog/icons/odt.png
35
+ CTkFileDialog/icons/pdf.png
36
+ CTkFileDialog/icons/php.png
37
+ CTkFileDialog/icons/python.png
38
+ CTkFileDialog/icons/text.png
39
+ CTkFileDialog/icons/video.png
40
+ CTkFileDialog/icons/_IconsMini/file.png
41
+ CTkFileDialog/icons/_IconsMini/folder.png
42
+ CTkFileDialog/preview/__init__.py
43
+ CTkFileDialog/preview/media.py
44
+ CTkFileDialog/resources/__init__.py
45
+ CTkFileDialog/resources/icons.py
46
+ CTkFileDialog/system/__init__.py
47
+ CTkFileDialog/system/platform.py
48
+ CTkFileDialog/ui/__init__.py
49
+ CTkFileDialog/ui/default_dialog.py
50
+ CTkFileDialog/ui/mini_dialog.py
51
+ CTkFileDialog/ui/tooltip.py
52
+ CTkFileDialog/utils/__init__.py
53
+ CTkFileDialog/utils/helpers.py
@@ -122,11 +122,29 @@ class DrawApp:
122
122
 
123
123
  def close_app(self) -> None:
124
124
  if self.method in ("asksaveasfilename", "asksaveasfile"):
125
- if not os.path.isdir(self.PathEntry.get()):
126
- self.selected_file = self.PathEntry.get()
127
- self.protocol_windows()
128
- self.app.destroy()
125
+ filename = self.FileNameEntry.get().strip()
126
+ if not filename:
127
+ return
128
+ path = os.path.expanduser(os.path.expandvars(filename))
129
+ if not os.path.isabs(path):
130
+ path = os.path.join(self.current_path, path)
131
+ path = os.path.abspath(path)
132
+ if os.path.isdir(path):
129
133
  return
134
+ if os.path.exists(path):
135
+ msg = CTkMessagebox(
136
+ message="This file exists. Do you want to overwrite it?",
137
+ icon="warning",
138
+ title="Warning",
139
+ option_1="Yes",
140
+ option_2="No",
141
+ )
142
+ if msg.get() == "No":
143
+ return
144
+ self.selected_file = path
145
+ self.protocol_windows()
146
+ self.app.destroy()
147
+ return
130
148
 
131
149
  if self._temp_item:
132
150
  self.protocol_windows()
@@ -194,17 +212,10 @@ class DrawApp:
194
212
  return
195
213
 
196
214
  if self.method in ("asksaveasfile", "asksaveasfilename"):
197
- if os.path.isfile(path):
198
- msg = CTkMessagebox(
199
- message="This file exists. Do you want to overwrite it?",
200
- icon="warning",
201
- title="Warning",
202
- option_1="Yes",
203
- option_2="No",
204
- )
205
- if msg.get() == "No":
206
- return
207
- self._temp_item = path
215
+ self.current_path = os.path.dirname(path)
216
+ self.update_entry(path=self.current_path)
217
+ self.FileNameEntry.delete(0, ctk.END)
218
+ self.FileNameEntry.insert(0, os.path.basename(path))
208
219
  self.close_app()
209
220
  return
210
221
 
@@ -313,6 +324,18 @@ class DrawApp:
313
324
  )
314
325
  self.PathEntry.bind("<Alt-Left>", lambda e: self.btn_back(master=master))
315
326
 
327
+ if self.method in ("asksaveasfilename", "asksaveasfile"):
328
+ filename_frame = ctk.CTkFrame(master=master, fg_color="transparent")
329
+ filename_frame.pack(side="bottom", fill="x", padx=10, pady=10)
330
+ ctk.CTkLabel(filename_frame, text="File name:").pack(
331
+ side="left", padx=(0, 10)
332
+ )
333
+ self.FileNameEntry = ctk.CTkEntry(
334
+ master=filename_frame, placeholder_text="Enter file name..."
335
+ )
336
+ self.FileNameEntry.pack(side="left", fill="x", expand=True)
337
+ self.FileNameEntry.bind("<Return>", lambda _: self.close_app())
338
+
316
339
  ctk.CTkButton(
317
340
  master=top,
318
341
  text="",
@@ -143,6 +143,18 @@ class MiniDialog:
143
143
  side=ctk.RIGHT, padx=10
144
144
  )
145
145
 
146
+ if self.method in ("asksaveasfilename", "asksaveasfile"):
147
+ filename_frame = ctk.CTkFrame(self.frame)
148
+ filename_frame.pack(side=ctk.BOTTOM, fill=ctk.X, padx=10, pady=(0, 10))
149
+ ctk.CTkLabel(filename_frame, text="File name:").pack(
150
+ side=ctk.LEFT, padx=(0, 10)
151
+ )
152
+ self.filename_entry = ctk.CTkEntry(
153
+ filename_frame, placeholder_text="Enter file name..."
154
+ )
155
+ self.filename_entry.pack(expand=True, fill=ctk.X, side=ctk.LEFT)
156
+ self.filename_entry.bind("<Return>", lambda _: self._on_select())
157
+
146
158
  def _build_center(self) -> None:
147
159
  self.tree_frame = ctk.CTkFrame(self.frame)
148
160
  self.tree_frame.pack(fill=ctk.BOTH, expand=True, padx=10, pady=5)
@@ -326,7 +338,18 @@ class MiniDialog:
326
338
  self.master.destroy()
327
339
 
328
340
  def _on_select(self) -> None:
329
- path = self.path_entry.get().strip() if hasattr(self, "path_entry") else ""
341
+ if self.method in ("asksaveasfilename", "asksaveasfile"):
342
+ filename = self.filename_entry.get().strip()
343
+ if not filename:
344
+ return
345
+ directory = self.path_entry.get().strip()
346
+ if os.path.isfile(directory):
347
+ directory = os.path.dirname(directory)
348
+ path = os.path.expanduser(os.path.expandvars(filename))
349
+ if not os.path.isabs(path):
350
+ path = os.path.join(directory or self.initial_dir, path)
351
+ else:
352
+ path = self.path_entry.get().strip() if hasattr(self, "path_entry") else ""
330
353
  if path:
331
354
  path = os.path.abspath(os.path.expandvars(os.path.expanduser(path)))
332
355
  if not os.path.dirname(path):
@@ -437,6 +460,10 @@ class MiniDialog:
437
460
  self.path_entry.insert(0, self.selected_item)
438
461
  self.list_files()
439
462
  return
463
+ if self.method in ("asksaveasfilename", "asksaveasfile"):
464
+ self.filename_entry.delete(0, ctk.END)
465
+ self.filename_entry.insert(0, os.path.basename(self.selected_item))
466
+ return
440
467
  self.path_entry.delete(0, ctk.END)
441
468
  self.path_entry.insert(0, self.selected_item)
442
469
 
@@ -0,0 +1,3 @@
1
+ [project.readme]
2
+ include = "README.md"
3
+ recursive-include CTkFileDialog/icons *
@@ -1,4 +1,30 @@
1
+ Metadata-Version: 2.4
2
+ Name: CTKFileDialog-plus
3
+ Version: 2.2.1
4
+ Summary: A modern file dialog for CustomTkinter
5
+ Home-page: https://github.com/hmidani-abdelilah/CTkFileDialog-plus
6
+ Author: abdelilah
7
+ Requires-Python: >=3.7
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: customtkinter
11
+ Requires-Dist: Pillow
12
+ Requires-Dist: opencv-python
13
+ Requires-Dist: CTkMessagebox
14
+ Requires-Dist: CTkToolTip
15
+ Requires-Dist: typeguard
16
+ Dynamic: home-page
17
+ Dynamic: license-file
18
+ Dynamic: requires-python
19
+
1
20
  <h1 align="center">CTkFileDialog</h1>
21
+ <div align="center">
22
+
23
+ [![Python](https://img.shields.io/badge/Python-3.14-blueviolet.svg?logo=python&logoColor=white)](https://www.python.org/)
24
+ [![MIT License](https://img.shields.io/badge/License-MIT-orange.svg?logo=MIT)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus?tab=MIT-1-ov-file)
25
+ [![PyPI](https://img.shields.io/badge/PyPI%20Project-775A9.svg?logo=PyPI)](https://pypi.org/project/CTkFileDialog-plus/)
26
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/ctkfiledialog-plus?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLUE&right_color=GREEN&left_text=PyPI%20downloads)](https://pepy.tech/projects/ctkfiledialog-plus)
27
+ [![Bugs Report](https://img.shields.io/badge/Issues-Report%20a%20bug-important?logo=github&logoColor=white)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus/issues) </div>
2
28
 
3
29
  <h3 align="center">A modern and fully customizable File Dialog for CustomTkinter — a must-have extension pack!</h3>
4
30
 
@@ -328,6 +354,9 @@ def save_as_filename():
328
354
  # You can also auto-append an extension if the user doesn't type one:
329
355
  # path = asksaveasfilename(autocomplete=True, defaultext=".txt")
330
356
 
357
+ # Save dialogs provide separate fields for the destination folder and file name
358
+ # in both Default and Mini styles.
359
+
331
360
  app = ctk.CTk()
332
361
  app.title("asksaveasfilename Demo")
333
362
  app.geometry("500x200")
@@ -1,32 +1,11 @@
1
- Metadata-Version: 2.4
2
- Name: CTkFileDialog-plus
3
- Version: 2.1.1
4
- Summary: A modern file dialog for CustomTkinter
5
- Home-page: https://github.com/hmidani-abdelilah/CTkFileDialog-plus
6
- Author: abdelilah
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Requires-Python: >=3.7
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: customtkinter
14
- Requires-Dist: Pillow
15
- Requires-Dist: opencv-python
16
- Requires-Dist: CTkMessagebox
17
- Requires-Dist: CTkToolTip
18
- Requires-Dist: typeguard
19
- Dynamic: author
20
- Dynamic: classifier
21
- Dynamic: description
22
- Dynamic: description-content-type
23
- Dynamic: home-page
24
- Dynamic: license-file
25
- Dynamic: requires-dist
26
- Dynamic: requires-python
27
- Dynamic: summary
28
-
29
1
  <h1 align="center">CTkFileDialog</h1>
2
+ <div align="center">
3
+
4
+ [![Python](https://img.shields.io/badge/Python-3.14-blueviolet.svg?logo=python&logoColor=white)](https://www.python.org/)
5
+ [![MIT License](https://img.shields.io/badge/License-MIT-orange.svg?logo=MIT)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus?tab=MIT-1-ov-file)
6
+ [![PyPI](https://img.shields.io/badge/PyPI%20Project-775A9.svg?logo=PyPI)](https://pypi.org/project/CTkFileDialog-plus/)
7
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/ctkfiledialog-plus?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLUE&right_color=GREEN&left_text=PyPI%20downloads)](https://pepy.tech/projects/ctkfiledialog-plus)
8
+ [![Bugs Report](https://img.shields.io/badge/Issues-Report%20a%20bug-important?logo=github&logoColor=white)](https://github.com/hmidani-abdelilah/CTkFileDialog-plus/issues) </div>
30
9
 
31
10
  <h3 align="center">A modern and fully customizable File Dialog for CustomTkinter — a must-have extension pack!</h3>
32
11
 
@@ -356,6 +335,9 @@ def save_as_filename():
356
335
  # You can also auto-append an extension if the user doesn't type one:
357
336
  # path = asksaveasfilename(autocomplete=True, defaultext=".txt")
358
337
 
338
+ # Save dialogs provide separate fields for the destination folder and file name
339
+ # in both Default and Mini styles.
340
+
359
341
  app = ctk.CTk()
360
342
  app.title("asksaveasfilename Demo")
361
343
  app.geometry("500x200")
@@ -0,0 +1,22 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "CTKFileDialog-plus"
7
+ version = "2.2.1"
8
+ description = "A modern file dialog for CustomTkinter"
9
+ readme = "README.md"
10
+ authors = [{name="abdelilah"}]
11
+ requires-python = ">=3.7"
12
+ dependencies = [
13
+ "customtkinter",
14
+ "Pillow",
15
+ "opencv-python",
16
+ "CTkMessagebox",
17
+ "CTkToolTip",
18
+ "typeguard",
19
+ ]
20
+
21
+ [tool.setuptools.package-data]
22
+ "CTkFileDialog" = ["icons/*"]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="CTkFileDialog-plus",
5
- version="2.1.1", # bump for each release
5
+ version="2.2.1", # bump for each release
6
6
  author="abdelilah",
7
7
  description="A modern file dialog for CustomTkinter",
8
8
  long_description=open("README.md").read(),
@@ -1,30 +0,0 @@
1
- LICENSE
2
- README.md
3
- setup.py
4
- CTkFileDialog/Dialog.py
5
- CTkFileDialog/__init__.py
6
- CTkFileDialog/_functions.py
7
- CTkFileDialog/_system.py
8
- CTkFileDialog/Constants/__init__.py
9
- CTkFileDialog/Constants/constants.py
10
- CTkFileDialog/core/__init__.py
11
- CTkFileDialog/core/filesystem.py
12
- CTkFileDialog/core/search.py
13
- CTkFileDialog/core/sorting.py
14
- CTkFileDialog/preview/__init__.py
15
- CTkFileDialog/preview/media.py
16
- CTkFileDialog/resources/__init__.py
17
- CTkFileDialog/resources/icons.py
18
- CTkFileDialog/system/__init__.py
19
- CTkFileDialog/system/platform.py
20
- CTkFileDialog/ui/__init__.py
21
- CTkFileDialog/ui/default_dialog.py
22
- CTkFileDialog/ui/mini_dialog.py
23
- CTkFileDialog/ui/tooltip.py
24
- CTkFileDialog/utils/__init__.py
25
- CTkFileDialog/utils/helpers.py
26
- CTkFileDialog_plus.egg-info/PKG-INFO
27
- CTkFileDialog_plus.egg-info/SOURCES.txt
28
- CTkFileDialog_plus.egg-info/dependency_links.txt
29
- CTkFileDialog_plus.egg-info/requires.txt
30
- CTkFileDialog_plus.egg-info/top_level.txt