I have a simple script using vpython (just testing) and I want to create a .exe file with pyinstaller.
This is the script:
from visual import*
box()
Then I run in the console:
pyinstaller sss.py
But the .exe dont work(obviously)
I've been googling about how to make the .spec file for vpython but dont find nothing.
Also tried making this .spec file
# -*- mode: python -*-
block_cipher = None
a = Analysis(['sss.py'],
pathex=['C:\\Users\\hdfh\\Documents\\Python Scripts'],
binaries=None,
datas=None,
hiddenimports=(['visual','vis','visual_common','viddle']),
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,
exclude_binaries=True,
name='sss.exe',
debug=False,
strip=None,
upx=True,
console=False )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='sss')
But it dindt work