Skip to content

Commit fb45249

Browse files
committed
Switched main branch to Python 3.4.3!
Updated readme and mac build file.
1 parent 32d59c9 commit fb45249

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,14 @@ Error: The application has failed to start because the side by side configuratio
7777

7878
### Run from Python Source
7979

80-
Requires the pyside library and python 2.X. If you want to replace the icon in the Windows Exe's, this will do it automatically with the latest code if you have PIL or Pillow installed. I've only tested the code on python 2.7.3-2.7.9, so I can't speak about any lower version, but it should work as long as PySide is supported.
81-
80+
Requires the PySide library and Python 3.4.3 or higher. If you want to replace the icon in the Windows Exe's, this will do it automatically with the latest code if you have PIL or Pillow installed.
8281
####GUI
8382

84-
Install dependencies **PIL or Pillow** for icon and icns exporting.
83+
Install dependencies:
84+
85+
```
86+
pip install -r requirements.txt
87+
```
8588

8689
Initiate submodules:
8790

@@ -92,7 +95,7 @@ git submodule update --init --recursive
9295
Run with:
9396

9497
```
95-
python main.py
98+
python3.4 main.py
9699
```
97100

98101
It's a pretty simple app. Just point it to the directory where your web application lives, customize the options (the two marked with a star are the only ones required) and then choose your export options. The app will export under YOUR_OUTPUT_DIR/YOUR_APP_NAME.
@@ -103,10 +106,10 @@ Dependencies: configobj (install with pip) and Pillow if you want icon replaceme
103106

104107
Run the command_line.py with the --help option to see a list of export options. Optionally, if you don't want to install python, there are builds for Mac and Windows in the command_line_builds folder of this repository.
105108

106-
Example usage (if using the prebuilt binary, replace `python command_line.py` with the exe name):
109+
Example usage (if using the prebuilt binary, replace `python3.4 command_line.py` with the exe name):
107110

108111
```
109-
python command_line.py /var/www/html/CargoBlaster/ --main html/index.html --export-to linux-x64 windows mac --width 900 --height 700 --nw-version 0.10.5
112+
python3.4 command_line.py /var/www/html/CargoBlaster/ --main html/index.html --export-to linux-x64 windows mac --width 900 --height 700 --nw-version 0.10.5
110113
```
111114

112115
###GUI Instructions

build_mac.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ rm -rf build dist
3131
/Applications/Keka.app/Contents/Resources/keka7z a -r Web2ExeMac-CMD.zip Web2ExeMac-CMD
3232
/Applications/Keka.app/Contents/Resources/keka7z a -r Web2ExeMac-${VERSION}.zip Web2Executable.app
3333

34-
python upload_release.py
34+
python3.4 upload_release.py

0 commit comments

Comments
 (0)