Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (49 sloc) 1.91 KB

Installation

Note

piqueserver only supports python 3.5.3 and above

All platforms

Installing with pip

pip3 install piqueserver # vanilla install
pip3 install piqueserver[ssh] # if you also want ssh server

Unix-like

Installing from source

# required for https, pillow, map compression etc.
# these are for ubuntu 16.04, find similar packages for your own distro/OSs
sudo apt-get install python3-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev
# get the source
git clone https://github.com/piqueserver/piqueserver
cd piqueserver
# we make git tags for every version so you can checkout out to specific version if you want
# git checkout v0.1.3
# create a new python3 venv
virtualenv -p python3 venv
source venv/bin/activate
# install deps.
pip install -r requirements.txt
# install piqueserver
python setup.py install

# don't forget to deactivate the venv when finished!
deactivate

Windows

Installation from source

Note

Most of the piqueserver team uses Linux and we aren't experienced with Cython on windows. If you can help us improve windows support we'd greatly appreciate it.

Tricky bit for windows is to get Cython working.

Tip

If you see errors like "unable to find vcvarsall.bat" refer to this article.

cd piqueserver
pip3 install -r requirements.txt
python setup.py install
You can’t perform that action at this time.