Commit ec3a89ee authored by thiolliere's avatar thiolliere
Browse files

windows spec file + instruction in readme

parent 8257c8bb
......@@ -48,6 +48,16 @@ Inside the emulator it builds ideascube with ansiblecube.
* run ansible-pull
* write image to the device
## build for windows
On a windows machine install python3.5 and QEMU
download piboxinstaller
on a terminal go to piboxinstaller directory and run:
"C:\Program Files\Python35\python.exe" "C:\Program Files\Python35\Scripts\pyinstaller-script.py" piboxinstaller_windows.spec
## License
Copyright (C) 2016 thiolliere
......
# -*- mode: python -*-
block_cipher = None
a = Analysis(['piboxinstaller/__main__.py'],
pathex=['.'],
binaries=[('C:\Program Files\qemu\qemu-system-arm.exe', '.'),
('C:\Program Files\qemu\qemu-img.exe', '.'),
('C:\Program Files\qemu\iconv.dll', '.'),
('C:\Program Files\qemu\libfreetype-6.dll', '.'),
('C:\Program Files\qemu\libgnutlsxx-28.dll', '.'),
('C:\Program Files\qemu\liblzo2-2.dll', '.'),
('C:\Program Files\qemu\libpng16-16.dll', '.'),
('C:\Program Files\qemu\libasprintf-0.dll', '.'),
('C:\Program Files\qemu\libgailutil-3-0.dll', '.'),
('C:\Program Files\qemu\libgobject-2.0-0.dll', '.'),
('C:\Program Files\qemu\libmenuw6.dll', '.'),
('C:\Program Files\qemu\libssh2-1.dll', '.'),
('C:\Program Files\qemu\libatk-1.0-0.dll', '.'),
('C:\Program Files\qemu\libgcc_s_seh-1.dll', '.'),
('C:\Program Files\qemu\libgthread-2.0-0.dll', '.'),
('C:\Program Files\qemu\libncurses++w6.dll', '.'),
('C:\Program Files\qemu\libstdc++-6.dll', '.'),
('C:\Program Files\qemu\libbz2-1.dll', '.'),
('C:\Program Files\qemu\libgdk-3-0.dll', '.'),
('C:\Program Files\qemu\libgtk-3-0.dll', '.'),
('C:\Program Files\qemu\libncursesw6.dll', '.'),
('C:\Program Files\qemu\libtasn1-6.dll', '.'),
('C:\Program Files\qemu\libcairo-2.dll', '.'),
('C:\Program Files\qemu\libgdk_pixbuf-2.0-0.dll', '.'),
('C:\Program Files\qemu\libgtkreftestprivate-0.dll', '.'),
('C:\Program Files\qemu\libnettle-4.dll', '.'),
('C:\Program Files\qemu\libtiff-5.dll', '.'),
('C:\Program Files\qemu\libcairo-gobject-2.dll', '.'),
('C:\Program Files\qemu\libgio-2.0-0.dll', '.'),
('C:\Program Files\qemu\libharfbuzz-0.dll', '.'),
('C:\Program Files\qemu\libnghttp2-14.dll', '.'),
('C:\Program Files\qemu\libtiffxx-5.dll', '.'),
('C:\Program Files\qemu\libcairo-script-interpreter-2.dll', '.'),
('C:\Program Files\qemu\libglib-2.0-0.dll', '.'),
('C:\Program Files\qemu\libhogweed-2.dll', '.'),
('C:\Program Files\qemu\libp11-kit-0.dll', '.'),
('C:\Program Files\qemu\libturbojpeg-0.dll', '.'),
('C:\Program Files\qemu\libcurl-4.dll', '.'),
('C:\Program Files\qemu\libgmodule-2.0-0.dll', '.'),
('C:\Program Files\qemu\libintl-8.dll', '.'),
('C:\Program Files\qemu\libpanelw6.dll', '.'),
('C:\Program Files\qemu\libusb-1.0.dll', '.'),
('C:\Program Files\qemu\libepoxy-0.dll', '.'),
('C:\Program Files\qemu\libgmp-10.dll', '.'),
('C:\Program Files\qemu\libjasper-1.dll', '.'),
('C:\Program Files\qemu\libpango-1.0-0.dll', '.'),
('C:\Program Files\qemu\libusbredirparser-1.dll', '.'),
('C:\Program Files\qemu\libexpat-1.dll', '.'),
('C:\Program Files\qemu\libgmpxx-4.dll', '.'),
('C:\Program Files\qemu\libjbig-2.dll', '.'),
('C:\Program Files\qemu\libpangocairo-1.0-0.dll', '.'),
('C:\Program Files\qemu\SDL2.dll', '.'),
('C:\Program Files\qemu\libffi-6.dll', '.'),
('C:\Program Files\qemu\libgnurx-0.dll', '.'),
('C:\Program Files\qemu\libjbig85-2.dll', '.'),
('C:\Program Files\qemu\libpangoft2-1.0-0.dll', '.'),
('C:\Program Files\qemu\zlib1.dll', '.'),
('C:\Program Files\qemu\libfontconfig-1.dll', '.'),
('C:\Program Files\qemu\libgnutls-28.dll', '.'),
('C:\Program Files\qemu\libjpeg-8.dll', '.'),
('C:\Program Files\qemu\libpangowin32-1.0-0.dll', '.'),
('C:\Program Files\qemu\libformw6.dll', '.'),
('C:\Program Files\qemu\libgnutls-openssl-27.dll', '.'),
('C:\Program Files\qemu\liblzma-5.dll', '.'),
('C:\Program Files\qemu\libpixman-1-0.dll', '.')],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='piboxinstaller',
debug=False,
strip=False,
upx=True,
console=True )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment