-
Notifications
You must be signed in to change notification settings - Fork 15
Install pugdebug
This page should describe installing the requirements and setting up the environment to run pugdebug from the source code.
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.
Download and install git from: https://git-scm.com/download/win
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.
Download and install binary packages for Windows from: http://www.riverbankcomputing.com/software/pyqt/download5
Start git bash, and clone pugdebug:
git clone https://github.com/robertbasic/pugdebug.git
Navigate to the directory where you cloned pugdebug and run:
pip install -r requirements.txt
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.
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.