mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-05 05:22:24 +12:00
Page:
Package manuskript for OS X
Pages
Adding a Spellcheck Language Dictionary to Manuskript
Bundle manuskript for OS X with Platypus
Configuration Settings Storage Locations
Contributing guidelines for developers
Creating manuskript binary for Android and IOS
Documentation Snippets
Fullscreen Mode
Home
How To Directory
How to Add Images to a Project
How to Display Remote Pictures
How to Enable Dark Theme
How to Export with Manuskript and Post Process with Calibre
How to format your project with book and research notes in separate root level folders
How to keep track of important items
How to run manuskript globally, from anywhere
How to start a new project
Import and Export capabilities
Keyboard Shortcuts
Notes for linux packagers: removable files
Overview of Manuskript Menu
Overview of Manuskript Panes
Overview of Manuskript Right Sidebar
Overview of Manuskript Settings
Package Manuskript for Linux with PyInstaller
Package Manuskript for Linux with Stdeb
Package Manuskript for Linux with dpkg
Package Manuskript for Linux with rpm
Package Manuskript for Windows with PyInstaller
Package Manuskript for Windows with wine
Package manuskript for OS X
Roadmap
Run Manuskript from Source Code on Linux
Run Manuskript from Source Code on Windows
Run manuskript on OS X
Steps To Create An Official Manuskript Release
Submitting an issue on Github
Technical Support
Translate Manuskript
[Packaging] Generate Windows binaries with pyInstaller (HowTo)
3
Package manuskript for OS X
Olivier edited this page 2016-04-04 15:04:48 +02:00
Table of Contents
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 !