mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #462] data include skips empty folders #366
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wimmatthijs on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/462
Quick Checks
Describe the bug
the "bug" is pretty simple, if you include a data folder, empty folders are omitted.
my program goes through a premade structure of folders, that can or cannot be empty.
I know it would be best practice to check if folders exist before trying to open any, but on the other hand i would expect data that is added to the project to be added as is, and not omit the empty folders.
For me the folder structure, even empty, is my data.
To Reproduce
open a folder in python script, include that folder empty in your additional files
Expected behavior
include empty folders
Your Environment:
@github-actions[bot] commented on GitHub (Feb 21, 2024):
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.
Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.
@brentvollebregt commented on GitHub (Feb 22, 2024):
I'm not sure myself if PyInstaller supports this - this hints maybe not (but it is quite old)
@wimmatthijs commented on GitHub (Feb 22, 2024):
Okay, no problem, would have been nice if a fox was possible to avoid some
curses in the future.
But two pretty straightforward fixes are possible.
I'll do number two in case somebody mingles with it, it will be fixed every
time.
On Thu, Feb 22, 2024, 10:41 AM Brent Vollebregt @.***>
wrote:
@brentvollebregt commented on GitHub (Feb 22, 2024):
Potentially during your build process, you could remove the dummy placeholder files before compressing for distribution
@github-actions[bot] commented on GitHub (Mar 25, 2024):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (Mar 31, 2024):
Closing issue due to no activity in more than 60 days.