Skip to content

Commit

Permalink
fix: Modified issue with build task
Browse files Browse the repository at this point in the history
  • Loading branch information
pauliyobo committed Sep 28, 2024
1 parent af0c160 commit 0bcee34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,11 @@ def make_version_info_file(c):
@make_env
def freeze(c):
"""Freeze the app using pyinstaller."""
import site
path = Path(site.getsitepackages()[1], "default.xpdf").absolute()
os.environ["PYXPDF_RC_PATH"] = str(path)


from bookworm import app

print("Freezing the application...")
Expand Down

0 comments on commit 0bcee34

Please sign in to comment.