Skip to content

Commit

Permalink
--hidden-import=_cffi_backend (#754)
Browse files Browse the repository at this point in the history
* --hidden-import=_cffi_backend

* Update setup.py
  • Loading branch information
axu2 authored Oct 15, 2024
1 parent 9c71dc8 commit 2c9e7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run(self):
os.system(f'appdmg kcc.json dist/kcc_macos_{platform.processor()}_{VERSION}.dmg')
sys.exit(0)
elif sys.platform == 'win32':
os.system('pyinstaller -y -F -i icons\\comic2ebook.ico -n KCC_' + VERSION + ' -w --noupx kcc.py')
os.system('pyinstaller --hidden-import=_cffi_backend -y -F -i icons\\comic2ebook.ico -n KCC_' + VERSION + ' -w --noupx kcc.py')
sys.exit(0)
elif sys.platform == 'linux':
os.system(
Expand Down

0 comments on commit 2c9e7cf

Please sign in to comment.