Skip to content

Building pySpellbook

Hammy edited this page Sep 18, 2015 · 2 revisions

Building pySpellbook

Linux

Make sure, that you have python3 installed.

Generic git

Get the latest version from GitHub:

git clone https://github.com/christofsteel/pySpellbook.git

Then build and install it:

cd pySpellbook
pip install .

Pypi

To install from the python package repository:

pip install pyspellbook

Debian/Ubuntu

To build the .deb package, make sure that you have stdeb, python3 and python3-pip installed.

sudo apt-get install python3-pip
pip3 install stdeb

Then get the latest version from GitHub:

git clone https://github.com/christofsteel/pySpellbook.git

And build the .deb via:

cd pySpellbook
python3 setup.py --command-packages=stdeb.command bdist_deb

The .deb is now in deb_dist

Windows

  • Download Python 3 from http://www.python.org and install it.

  • Download the latest source (Either via git or download the master.zip from GitHub)

  • Install cx_freeze via pip

  • Open the command prompt and install all dependencies from pip.

    cd PATHTOSOURCE Pip.exe install -e .

  • Then build the .msi installer via:

    Python.exe cx.py build_msi

  • An installable .msi file should be in bdist_msi

Mac OSX

Install from the python package index

Install python3 and pip via MacPorts (or something similar) and follow the linux instructions

Build .dmg

  • Make sure you have Python3 installed (via MacPorts)

  • Install Pyside via MacPorts for your python3 version (eg. py34-pyside for python3.4)

  • Get the current sources from GitHub

  • Install cx_freeze via pip

  • Install all dependencies from pip.

    cd PATHTOSOURCE pip install -e .

  • Then build the .dmg installer via:

    python3 cx.py bdist_dmg

  • A dmg should now be in build