pytexit icon indicating copy to clipboard operation
pytexit copied to clipboard

pyinstaller issue

Open fuyans opened this issue 5 years ago • 1 comments

An error is encountered after built with pyinstaller with pytexit imported.

The error is caused by the fact that pyinstaller does not include __version__.txt

I solved this by manually modifying __version__ == '0.3.3' in the __init__.py, i.e. not reading version data from __version__.txt

Might just put version info in a .py (i.e. __init__.py) file in lieu of a text file?

fuyans avatar Aug 25 '20 12:08 fuyans

That would definitly work.

There are other files in the MANIFEST.in that wouldn't be packaged neither, but I don't think we need them to run the package.

Do you want to submit a PR ?

erwanp avatar Aug 25 '20 12:08 erwanp