3.3. Environments¶
3.3.1. Building Device¶
Building device is to run pyarmor to geneate obfuscated scripts and all the other required files.
Supported Platforms:
- Windows
- Linux
- Darwin
Support Arches:
- x86_64
- aarch64
- i386
- aarch32
- armv7
Supported Pyton versions:
- Python 3.7 ~ Python 3.11
Command line options and environment variables are described in Man Page
3.3.1.1. Configuration files¶
There are 3 kinds of configuration files
- global: an ini file
~/.pyarmor/config/global
- local: an ini file
.pyarmor/config
- private: each module
foo
may has one ini file either~/.pyarmor/foo.rules
or.pyarmor/foo.rules
3.3.2. Target Device¶
Target device is to run the obfuscated scripts.
Support platforms, arches and Python versions are same as Building device
sys._MEIPASS
Borrowed from PyInstaller, set search path for outer key.
sys._PARLANG
It’s used to set language for runtime error message.
If it’s set,
LANG
is ignored.
-
LANG
¶ OS environment variable, used to select language for runtime error message.