Skip to content

Package manuskript for OS X

Olivier edited this page Apr 4, 2016 · 3 revisions

First, get manuskript to run 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.)


Compress / zip dist/manuskript folder

cd dist
zip manuskript-0.3.0-osx.zip -r manuskript

Replace 0.3.0 by the proper version number of course.

The file manuskript-0.3.0-osx.zip can now be deployed !

Clone this wiki locally