Skip to content

Commit 91719f7

Browse files
committed
Update requirements and add setup instructions
1 parent 49f2338 commit 91719f7

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

SETUP.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#Setup Guide
2+
3+
In order to run Web2Executable from Python code to make modifications to this repo, you'll need to install a few prerequisites first.
4+
5+
##Prerequisites
6+
7+
###Qt 4.8.7
8+
9+
Download and install Qt 4.8.7 from [here](https://download.qt.io/official_releases/qt/4.8/4.8.7/) or from your package manager. PySide uses Qt 4.8.X and is incompatible with Qt 5 and higher.
10+
11+
For Mac OSX, it might be needed to install the latest 4.8.X version via compiling the source. Download the `qt-everywhere-opensource-src-4.8.X` version and run the following in the extracted directory:
12+
13+
```
14+
./configure
15+
make
16+
sudo make install
17+
```
18+
19+
Alternatively, you may wish to install it via homebrew if you have it installed:
20+
21+
```
22+
brew install qt
23+
```
24+
25+
###Python 3.4
26+
27+
Download and install the latest Python3.4.X release from the Python website. Python 3.5 and higher may work, but this repo was only tested with Python 3.4.
28+
29+
###System requirements
30+
31+
If you want to use the conversion of any image to icns and png using Pillow, you must install some libraries.
32+
33+
libjpeg, libpng, openjpeg
34+
35+
###Pip Requirements
36+
37+
Install pip requirements with
38+
39+
```
40+
pip install -r requirements.txt
41+
```
42+
43+
##Running
44+
45+
Once all of the above are installed, simply run:
46+
47+
```
48+
python3.4 main.py
49+
```

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ semantic_version
55
appdirs
66
validators
77
requests
8+
https://github.com/pyinstaller/pyinstaller/archive/develop.zip

0 commit comments

Comments
 (0)