Skip to content

pyinstaller is a separate exe #34

Locked Answered by joshschmelzle
robertshuai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @robertshuai. Once I made the change in #35 from relative to absolute imports, these steps worked for me on a Windows host.

pip install -U pyinstaller
git clone https://github.com/joshschmelzle/lswifi.git
cd lswifi
python -m PyInstaller --name "lswifi" ".\lswifi\__main__.py"

These steps resulted in the creation of build and dist folders.

Inside .\lswifi\dist\lswifi I found lswifi.exe and some .dll files:

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          11/17/2022  8:21 AM          63864 _asyncio.pyd
-a---          11/17/2022  8:08 AM          83328 _bz2.pyd
-a---          11/17/2022  8:21 AM         123768 _cty…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@robertshuai
Comment options

@joshschmelzle
Comment options

Answer selected by robertshuai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants