diff --git a/samples/pyluxcoreconsole/pyluxcoreconsole.win.spec b/samples/pyluxcoreconsole/pyluxcoreconsole.win.spec new file mode 100644 index 000000000..7c30e790b --- /dev/null +++ b/samples/pyluxcoreconsole/pyluxcoreconsole.win.spec @@ -0,0 +1,37 @@ +# -*- mode: python -*- + +# To use as: pyinstaller samples/pyluxcoreconsole/pyluxcoreconsole.win.spec + +block_cipher = None + + +a = Analysis(['pyluxcoreconsole.py'], + pathex=['../..'], + binaries=[ + ('../../../WindowsCompile/Build_CMake/LuxCore/lib/Release/pyluxcore.pyd', '.'), + ('../../lib/pyluxcoretools.zip', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/embree.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/tbb.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/OpenImageIO.dll', '.') + ], + datas=[], + hiddenimports=['uuid'], + 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='pyluxcoreconsole', + debug=False, + strip=False, + upx=True, + console=True ) + diff --git a/samples/pyluxcoremerge/pyluxcoremerge.win.spec b/samples/pyluxcoremerge/pyluxcoremerge.win.spec new file mode 100644 index 000000000..0bdec7cb7 --- /dev/null +++ b/samples/pyluxcoremerge/pyluxcoremerge.win.spec @@ -0,0 +1,37 @@ +# -*- mode: python -*- + +# To use as: pyinstaller samples/pyluxcoremerge/pyluxcoremerge.win.spec + +block_cipher = None + + +a = Analysis(['pyluxcoremerge.py'], + pathex=['../..'], + binaries=[ + ('../../../WindowsCompile/Build_CMake/LuxCore/lib/Release/pyluxcore.pyd', '.'), + ('../../lib/pyluxcoretools.zip', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/embree.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/tbb.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/OpenImageIO.dll', '.') + ], + datas=[], + hiddenimports=['uuid'], + 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='pyluxcoremerge', + debug=False, + strip=False, + upx=True, + console=True ) + diff --git a/samples/pyluxcorenetconsole/pyluxcorenetconsole.win.spec b/samples/pyluxcorenetconsole/pyluxcorenetconsole.win.spec new file mode 100644 index 000000000..735ef7d6a --- /dev/null +++ b/samples/pyluxcorenetconsole/pyluxcorenetconsole.win.spec @@ -0,0 +1,37 @@ +# -*- mode: python -*- + +# To use as: pyinstaller samples/pyluxcorenetconsole/pyluxcorenetconsole.win.spec + +block_cipher = None + + +a = Analysis(['pyluxcorenetconsole.py'], + pathex=['../..'], + binaries=[ + ('../../../WindowsCompile/Build_CMake/LuxCore/lib/Release/pyluxcore.pyd', '.'), + ('../../lib/pyluxcoretools.zip', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/embree.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/tbb.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/OpenImageIO.dll', '.') + ], + datas=[], + hiddenimports=['uuid'], + 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='pyluxcorenetconsole', + debug=False, + strip=False, + upx=True, + console=True ) + diff --git a/samples/pyluxcorenetnode/pyluxcorenetnode.win.spec b/samples/pyluxcorenetnode/pyluxcorenetnode.win.spec new file mode 100644 index 000000000..670e43ad5 --- /dev/null +++ b/samples/pyluxcorenetnode/pyluxcorenetnode.win.spec @@ -0,0 +1,37 @@ +# -*- mode: python -*- + +# To use as: pyinstaller samples/pyluxcorenetnode/pyluxcorenetnode.win.spec + +block_cipher = None + + +a = Analysis(['pyluxcorenetnode.py'], + pathex=['../..'], + binaries=[ + ('../../../WindowsCompile/Build_CMake/LuxCore/lib/Release/pyluxcore.pyd', '.'), + ('../../lib/pyluxcoretools.zip', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/embree.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/tbb.dll', '.'), + ('../../../WindowsCompileDeps/x64/Release/lib/OpenImageIO.dll', '.') + ], + datas=[], + hiddenimports=['uuid'], + 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='pyluxcorenetnode', + debug=False, + strip=False, + upx=True, + console=True ) +