klen / peewee_migrate

Simple migration engine for Peewee
MIT License
353 stars 86 forks source link

fix: python template for bundling #219

Closed smichaud closed 1 year ago

smichaud commented 1 year ago

Fixes #

When bundling using Nuitka or PyInstaller, the template.txt is not bundled which leads to a runtime error FileNotFoundError.

Changes in this PR

cc/ @klen

klen commented 1 year ago

@smichaud Thank you!

Why do you comment the template content? It broke migrations.

smichaud commented 1 year ago

@klen You are right, I commented lines while exploring if it solved my problem. I see that you fixed it before merging. Thank you!