File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727#
2828# Run with --help for command line details
2929#
30- q_version = "1.7.1 "
30+ q_version = "1.7.4 "
3131
3232__all__ = [ 'QTextAsData' ]
3333
Original file line number Diff line number Diff line change @@ -5,9 +5,19 @@ Instructions for creating a windows package for q:
55
66The installation is based on a wine docker container.
77
8- fetch all files from https://github.com/harelba/packages-for-q/tree/master/artifactory-for-packaging into dist/windows folder.
8+ mkdir -p dist/windows
9+
10+ pushd dist/windows
11+
12+ fetch all files from https://github.com/harelba/packages-for-q/tree/master/artifactory-for-packaging into that folder.
13+
14+ tar xvzf PyInstaller-2.1.tar.gz
15+
16+ Fix pyinstaller to work around a bug by running the following command (use gsed for osx or sed for linux):
17+ gsed -i '1587s/^.*$/ if tpl[2] in ["BINARY", "DATA"]:/' ./PyInstaller-2.1/PyInstaller/build.py
18+
19+ popd
920
10- extract pyinstaller2.1 zip file inside the folder.
1121
1222d=`pwd`
1323cid1=`docker run -d -v ${d}:/q -e VNC_PASSWORD=newPW -p 5900:5900 suchja/x11server`
@@ -33,7 +43,7 @@ inside the docker container prompt:
3343
3444 ln -s /q "q:"
3545
36- wine msiexec /i q:\\dist\\windows\\python-2.7.13.msi
46+ wine msiexec /i q:\\dist\\windows\\python-2.7.13.msi /q
3747
3848 wine q:\\dist\\windows\\pywin32-219.win32-py2.7.exe
3949
@@ -43,8 +53,9 @@ inside the docker container prompt:
4353
4454 cd /q/dist
4555
46- wine q:\\dist\\windows\\nsis-2.46-setup.exe - install to c:\\ q-build-environment\ \nsis
56+ wine q:\\dist\\windows\\nsis-2.46-setup.exe - install to c:\q-build-environment\nsis
4757
58+
4859 wine c:\\python27\\python.exe c:\\q-build-environment\\PyInstaller-2.1\\pyinstaller.py -F --distpath=win_output --workpath=win_build q:\\bin\\q
4960
5061 ### Don't forget to change the version in the command below:
You can’t perform that action at this time.
0 commit comments