erwanp / pytexit

Convert a Python expression to a LaTeX formula
https://pytexit.readthedocs.io/
Other
114 stars 31 forks source link

pyinstaller issue #15

Open fuyans opened 4 years ago

fuyans commented 4 years ago

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?

erwanp commented 4 years ago

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 ?