stansotn

stansotn

Member Since 6 years ago

nyc

Experience Points
12
follower
Lessons Completed
15
follow
Lessons Completed
22
stars
Best Reply Awards
12
repos

136 contributions in the last year

stansotn Most Used Languages
stansotn GitHub Stats

12 Pinned

⚡ Embedded Command Processor
⚡ My curated blue pill template.
Jul
23
1 month ago
push

stansotn push stansotn/pool-recon-all

stansotn
stansotn

Removed logging to descriptor file from the worker process

Removed bug-prone behaviour where multiple process workers would log timing to the same csv file without a proper mutex.

Workers now return their clock in and clock out times, which are then properly logged by the parent process.

commit sha: cbe75ae2b36e731c60307069ca6410e2b53ec630

push time in 1 month ago
Activity icon
created branch
createdAt 1 month ago
Activity icon
created repository
createdAt 1 month ago
Jun
17
3 months ago
Activity icon
issue

stansotn issue comment pyinstaller/pyinstaller

stansotn
stansotn

Small file on windows but huge in linux

Hello, i'm making a stand alone PySide2 application with PyInstaller, but the file size is huge on linux, in windows the .exe size is just 70mb while in linux is 194.6MB (510.8MB on Dir mode). In both cases the build was made using a virtual environment only with the necessary modules. Apparently it is adding all the files of the modules in linux.

Windows 10: Python 3.7.4 32 bits Linux Mint 19.2: Python 3.7.5 64 bits Modules: altgraph==0.16.1 cycler==0.10.0 decorator==4.4.0 kiwisolver==1.1.0 matplotlib==3.1.1 networkx==2.3 numpy==1.17.3 parse==1.12.1 PyInstaller==4.0.dev0+a9b299995 pyparsing==2.4.2 PySide2==5.13.0 python-dateutil==2.8.0 scipy==1.3.1 shiboken2==5.13.0 six==1.12.0

Also, the control module, scikit fuzzy and PyQtGraph are included in my code folder.

command for spec file : ../venv/bin/pyi-makespec --icon="icono.ico" --add-data="icono.ico:." --add-data="Esquemas:Esquemas" main.py

command for pyinstaller: ../venv/bin/pyinstaller --clean --log-level DEBUG main.spec

Output: https://gist.github.com/ezalorpro/d894f8858078e7e128930a4cbaefc7b8

stansotn
stansotn

I suppose pywebview on Ubuntu uses gtk by default on linux..

My pyinstaller version is 4.3.

Could this be related to using pipenv to handle the virtual environment? Here is my Pipfile

[packages]
flask = "*"
flask-cors = "*"
pyserial = "*"
pywebview = "*"
pygobject = "*"

[dev-packages]
pyinstaller = "*"
Activity icon
issue

stansotn issue comment pyinstaller/pyinstaller

stansotn
stansotn

Small file on windows but huge in linux

Hello, i'm making a stand alone PySide2 application with PyInstaller, but the file size is huge on linux, in windows the .exe size is just 70mb while in linux is 194.6MB (510.8MB on Dir mode). In both cases the build was made using a virtual environment only with the necessary modules. Apparently it is adding all the files of the modules in linux.

Windows 10: Python 3.7.4 32 bits Linux Mint 19.2: Python 3.7.5 64 bits Modules: altgraph==0.16.1 cycler==0.10.0 decorator==4.4.0 kiwisolver==1.1.0 matplotlib==3.1.1 networkx==2.3 numpy==1.17.3 parse==1.12.1 PyInstaller==4.0.dev0+a9b299995 pyparsing==2.4.2 PySide2==5.13.0 python-dateutil==2.8.0 scipy==1.3.1 shiboken2==5.13.0 six==1.12.0

Also, the control module, scikit fuzzy and PyQtGraph are included in my code folder.

command for spec file : ../venv/bin/pyi-makespec --icon="icono.ico" --add-data="icono.ico:." --add-data="Esquemas:Esquemas" main.py

command for pyinstaller: ../venv/bin/pyinstaller --clean --log-level DEBUG main.spec

Output: https://gist.github.com/ezalorpro/d894f8858078e7e128930a4cbaefc7b8

stansotn
stansotn

Perhaps I am doing something wrong, but I am still struggling with this issue. I am using flask and pywebview and getting 110MB on Linux and only 20MB on windows