Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Install pugdebug

Robert Basic edited this page Jun 7, 2015 · 12 revisions

This page should describe installing the requirements and setting up the environment to run pugdebug from the source code.

Installing development version on Windows

The following sub-sections describes how to install all the requirements that are needed to run the development version of pugdebug on a Windows system.

Install git

Download and install git from: https://git-scm.com/download/win

Install Python 3.4

Download and install Python 3.4.latest for windows from: https://www.python.org/downloads/

Make sure to install the 64bit version of Python 3.4!

Install using default options. Add python to your PATH, following the directions given in the Python documentation https://docs.python.org/3.4/using/windows.html#setting-envvars

Add C:\Python34;C:\Python34\Scripts to your PATH.

Install PyQt5.4

Download and install binary packages for Windows from: http://www.riverbankcomputing.com/software/pyqt/download5

Clone pugdebug

Start git bash, and clone pugdebug:

git clone https://github.com/robertbasic/pugdebug.git

Install pugdebug requirements

Navigate to the directory where you cloned pugdebug and run:

pip install -r requirements.txt

Start pugdebug

After all this, you should be able to start the development version of pugdebug.

Navigate to the directory where pugdebug is cloned and run:

python app.py

pugdebug should start.

Building Windows binaries

If you want to build binaries for pugdebug.

Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/

Make sure to download pywin32 for Python 3.4, 64bit version.

Download the python3 branch of pyinstaller https://github.com/pyinstaller/pyinstaller/tree/python3

Extract the ZIP file.

In command prompt, navigate where pyinstaller is unzipped and run:

python setup.py install

Navigate where pugdebug is cloned and run:

pyinstaller --clean --hidden-import=sip --onefile --windowed --name=pugdebug app.py

Under the new dist directory there should be a pugdebug.exe file.

Clone this wiki locally