mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-02 11:04:33 +12:00
Updated Package manuskript for OS X (markdown)
parent
dbb4c19ab9
commit
dd61325b96
|
@ -1 +1,39 @@
|
|||
First, [[get manuskript to run|Run manuskript on OS X]] in your environnement.
|
||||
First, [[get manuskript to run|Run manuskript on OS X]] in your environnement, including optional dependencies.
|
||||
|
||||
# Install pyInstaller
|
||||
|
||||
pip3 install pyinstaller
|
||||
|
||||
# Run pyInstaller
|
||||
|
||||
From manuskript source root directory:
|
||||
|
||||
pyinstaller manukscript.spec
|
||||
|
||||
|
||||
***
|
||||
|
||||
|
||||
At that point, I got the following error:
|
||||
|
||||
FileNotFoundError: Path or glob "/usr/local/share/hunspell" not found or matches no files.
|
||||
|
||||
The easiest solution would have been to remove pyenchant (pip3 uninstall pyenchant), but then there would be no spellchecking.
|
||||
|
||||
Instead, install hunspell:
|
||||
|
||||
brew install hunspell
|
||||
|
||||
But then, I got another error:
|
||||
|
||||
FileNotFoundError: Path or glob "/usr/local/share/aspell" not found or matches no files.
|
||||
|
||||
Since pyenchant doesn't need both hunspell and aspell to work, and anyway installing aspeel didn't fix anything, I simply fool pyInstaller faulty script:
|
||||
|
||||
touch /usr/local/share/aspell
|
||||
|
||||
(This creates an empty file, and then everything works.)
|
||||
|
||||
|
||||
***
|
||||
|
||||
|
|
Loading…
Reference in a new issue