Skip to content

Commit

Permalink
Merge pull request #4 from tyler-macinnis/develop
Browse files Browse the repository at this point in the history
Fix issue with tkcalender's hidden import.
  • Loading branch information
tyler-macinnis authored Aug 1, 2024
2 parents 92ecc32 + 8c053b5 commit 1224301
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Security in case of vulnerabilities.

## [1.1.1] - 2024-08-01

### Fixed in 1.1.1

- Added necessary hidden import for tkcalender. See [here](https://tkcalendar.readthedocs.io/en/stable/howtos.html#pyinstaller) for more info.

## [1.1.0] - 2024-07-30

### Added in 1.1.0
Expand Down
10 changes: 9 additions & 1 deletion build_release.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import PyInstaller.__main__

PyInstaller.__main__.run(
["src/main.py", "--onefile", "--windowed", "--name=Time Capsule", "--icon=res/time.png"]
[
"src/main.py",
"--onefile",
"--hidden-import",
"babel.numbers",
"--windowed",
"--name=Time Capsule",
"--icon=res/time.png",
]
)
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
DATES_FILE = os.path.join(SCRIPT_DIR, "important_dates.json")
CATEGORIES_FILE = os.path.join(SCRIPT_DIR, "categories.json")
DATE_FORMAT = "%m-%d-%Y"
VERSION = "1.1.0"
VERSION = "1.1.1"


def load_dates():
Expand Down

0 comments on commit 1224301

Please sign in to comment.