Open fuyans opened 4 years ago
An error is encountered after built with pyinstaller with pytexit imported.
pyinstaller
pytexit
The error is caused by the fact that pyinstaller does not include __version__.txt
__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
__version__ == '0.3.3'
__init__.py
Might just put version info in a .py (i.e. __init__.py) file in lieu of a text file?
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 ?
An error is encountered after built with
pyinstaller
withpytexit
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?