7

Hi using PyArmor when I do this command:

pyarmor pack main.py

It packs it into a folder called dist and inside contains my .exe along with a lot of Python Extention Files..

I understand that PyArmor uses PyInstaller to pack its files. And PyInstaller has an option called --onefile.

How can I pack my obfuscated script to one single .exe file?

Maybe something like... pyarmor pack --onefile main.py ??

SunAwtCanvas
  • 1,261
  • 1
  • 13
  • 38

1 Answers1

20
pyarmor pack --clean -e "--onefile " main.py

don't forget about whitespace in "-e"

should do the fix :)

Mishase
  • 3
  • 1
  • 2
PythonNewbie
  • 1,031
  • 1
  • 15
  • 33