Skip to content

Commit 7f9043f

Browse files
committed
Remove PyInstaller
1 parent 245a83b commit 7f9043f

File tree

10 files changed

+17
-22
lines changed

10 files changed

+17
-22
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@ Installation
2828

2929
pip install pyarmor
3030

31-
Obfuscate scripts::
31+
Obfuscate scripts
3232

3333
pyarmor obfuscate --recursive --src=examples/simple --entry=queens.py
3434

35-
Run obfuscated scripts::
35+
Run obfuscated scripts
3636

3737
cd dist
3838
python queens.py
3939

40-
Pack obfuscated scripts with py2exe, cx_Freeze etc.::
40+
Pack obfuscated scripts with py2exe, cx_Freeze etc.
4141

4242
pyarmor pack -t py2exe examples/py2exe/hello.py
4343

44-
Generate an expired license and run obfuscated scripts with new license::
44+
Generate an expired license and run obfuscated scripts with new license
4545

4646
pyarmor licenses --expired 2018-12-31 Customer-Jondy
4747
cp licenses/Customer-Jondy/license.lic dist/
4848

4949
cd dist/
5050
python queens.py
5151

52-
Start webui, open web page in browser for basic usage of Pyarmor::
52+
Start webui, open web page in browser for basic usage of Pyarmor
5353

5454
pyarmor-webui
5555

src/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.util import get_platform
22

3-
version = '4.4.0'
3+
version = '4.4.1'
44

55
version_info = '''
66
Pyarmor is a tool used to import or run the encrypted python scripts.

src/examples/README-ZH.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Windows 下使用,`.sh` 的在 Linux,MacOS 等上面使用。他们都存放
2424

2525
* [pack-obfuscated-scripts.bat](pack-obfuscated-scripts.bat) / [pack-obfuscated-scripts.sh](pack-obfuscated-scripts.sh)
2626

27-
使用这个脚本模板通过第三方工具 (py2exe, py2app, cx_Freeze,
28-
PyInstaller) 来打包加密的脚本。
27+
使用这个脚本模板通过第三方工具 (py2exe, py2app, cx_Freeze) 来打包加密的脚本。
2928

3029

3130
除了这些脚本之外,这里还有一些真实的例子。现在打开一个命令窗口,按照下
@@ -184,5 +183,4 @@ Pyarmor 的安装路径是 `/path/to/pyarmor`
184183
的辅助文件,另外 `library.zip` 也被修改了,里面的 `queens.pyc` 被替换成为了加密后
185184
的脚本
186185

187-
对于其他打包工具 `cx_Freeze`, `py2app`, `PyInstaller`, 基本使用方法和 `py2exe`
188-
类似。
186+
对于其他打包工具 `cx_Freeze`, `py2app`, 基本使用方法和 `py2exe` 很类似。

src/examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ then run it to obfuscate your python scripts quickly.
3232
* [pack-obfuscated-scripts.bat](pack-obfuscated-scripts.bat) / [pack-obfuscated-scripts.sh](pack-obfuscated-scripts.sh)
3333

3434
The basic usage show how to pack obfuscated scripts with py2exe,
35-
py2app, cx_Freeze or PyInstaller.
35+
py2app or cx_Freeze.
3636

3737
Not only those scripts, but also some really examples are distributed
3838
with Pyarmor. Just open a command window, follow the instructions in
@@ -195,4 +195,4 @@ Check the output path of `examples/py2exe/dist`, the runtime files required by
195195
obfuscated scripts are copied here, and the `library.zip` is updated, the
196196
original `queens.pyc` replaced with obfuscated one.
197197

198-
For cx_Freeze, py2app and PyInstaller, it's almost same as py2exe.
198+
For cx_Freeze and py2app, it's almost same as py2exe.

src/examples/pack-obfuscated-scripts.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
REM
33
REM Sample script used to pack obfuscated scripts with
44
REM
5-
REM py2exe, py2app, PyInstaller, cx_Freeze
5+
REM py2exe, py2app, cx_Freeze
66
REM
77
REM Before run it, all TODO variables need to set correctly.
88
REM

src/examples/pack-obfuscated-scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Sample script used to pack obfuscated scripts with
33
#
4-
# py2exe, py2app, PyInstaller, cx_Freeze
4+
# py2exe, py2app, cx_Freeze
55
#
66
# Before run it, all TODO variables need to set correctly.
77
#

src/packer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# @Description:
2323
#
2424
# Pack obfuscated Python scripts with any of third party
25-
# tools: py2exe, py2app, cx_Freeze, PyInstaller
25+
# tools: py2exe, py2app, cx_Freeze
2626
#
2727

2828
'''After the py2exe or cx_Freeze setup script works, this tool could
@@ -58,7 +58,6 @@
5858
DEFAULT_PACKER = {
5959
'py2app': ('dist', 'library.zip', ['py2app', '--dist-dir']),
6060
'py2exe': ('dist', 'library.zip', ['py2exe', '--dist-dir']),
61-
'pyInstaller': ('dist', 'library.zip', ['build', '--dist-dir']),
6261
'cx_Freeze': (
6362
os.path.join(
6463
'build', 'exe.%s-%s' % (get_platform(), sys.version[0:3])),

src/user-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ show project information. `config` to update project settings, and
6767
`build` to obfuscate the scripts in the project.
6868

6969
Pyarmor v4.4 introduces a new command `pack`, used to pack obfuscated
70-
scripts with `py2exe`, `cx_Freeze`, `PyInstaller` etc.
70+
scripts with `py2exe`, `cx_py2app`, `Freeze` etc.
7171

7272
Other commands, `benchmark` to metric performance, `hdinfo` to
7373
show hardware information, so that command `licenses` can generate
@@ -278,8 +278,8 @@ Check the output path of `examples/py2exe/dist`, the runtime files required by
278278
obfuscated scripts are copied here, and the `library.zip` is updated, the
279279
original `queens.pyc` replaced with obfuscated one.
280280

281-
For cx_Freeze, py2app and PyInstaller, it's almost same as py2exe. Learn more
282-
options about command [pack](#pack)
281+
For cx_Freeze, py2app, it's almost same as py2exe. Learn more options
282+
about command [pack](#pack)
283283

284284
Quick start from the following template scripts
285285

@@ -1184,7 +1184,7 @@ positional arguments:
11841184
optional arguments:
11851185
-h, --help show this help message and exit
11861186
-v, --version show program's version number and exit
1187-
-t TYPE, --type TYPE py2app, cx_Freeze, pyInstaller, py2exe
1187+
-t TYPE, --type TYPE py2app, cx_Freeze, py2exe
11881188
-s SETUP, --setup SETUP
11891189
Setup script, default is setup.py
11901190

src/webui/index-zh.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@
154154
<option value="cx_Freeze">cx_Freeze</option>
155155
<option value="py2app">py2app</option>
156156
<option value="py2exe" selected>py2exe</option>
157-
<option value="PyInstaller">PyInstaller</option>
158157
</select>
159158
</div>
160159
<div class="form-group">

src/webui/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
<option value="cx_Freeze">cx_Freeze</option>
154154
<option value="py2app">py2app</option>
155155
<option value="py2exe" selected>py2exe</option>
156-
<option value="PyInstaller">PyInstaller</option>
157156
</select>
158157
</div>
159158
<div class="form-group">

0 commit comments

Comments
 (0)