pyarmor 8.0.17__zip → 8.0.18__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyarmor-8.0.17 → pyarmor-8.0.18}/PKG-INFO +1 -1
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/PKG-INFO +1 -1
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/__main__.py +5 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/default.cfg +2 -5
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/config.py +1 -1
- {pyarmor-8.0.17 → pyarmor-8.0.18}/MANIFEST.in +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/README.md +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/SOURCES.txt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/dependency_links.txt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/entry_points.txt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/requires.txt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/pyarmor.egg-info/top_level.txt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/setup.cfg +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/setup.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/README.rst +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/benchmark.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/build_meta.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/config.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/context.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/errors.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/generate.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/mixer.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/public_capsule.zip +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/register.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/repack.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/resource.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cli/shell.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/cobuilder.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/README-ZH.md +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/README.md +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/build-for-exe.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/build-for-freeze.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/build-with-project.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/build-with-project.sh +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/cx_Freeze/hello.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/cx_Freeze/queens.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/cx_Freeze/setup.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/helloworld/foo.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/obfuscate-app.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/obfuscate-app.sh +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/obfuscate-pkg.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/obfuscate-pkg.sh +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pack-obfuscated-scripts.bat +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pack-obfuscated-scripts.sh +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/py2exe/hello.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/py2exe/queens.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/py2exe/setup.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Arithmetic.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Calls.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/CommandLine.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Constructs.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Dict.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Exceptions.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Imports.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Instances.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Lists.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Lookups.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/NewInstances.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Numbers.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Setup.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Strings.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/Tuples.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/With.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/clockres.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/package/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/package/submodule.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/pybench.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/pybench/systimes.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/simple/queens.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/testmod/hello.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/testmod/queens.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/testpkg/main.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/testpkg/mypkg/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/examples/testpkg/mypkg/foo.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/build_data_module.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/buildext.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/get_bind_key.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/get_license_info.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/get_platform_name.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/merge.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/repack.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/helper/superuntime.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/license.tri +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/packer.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/platforms/darwin/x86_64/_pytransform.dylib +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/platforms/linux/x86/_pytransform.so +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/platforms/linux/x86_64/_pytransform.so +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/platforms/windows/x86/_pytransform.dll +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/platforms/windows/x86_64/_pytransform.dll +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/plugins/README.md +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/plugins/check_ntp_time.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/polyfills/__init__.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/polyfills/argparse.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/product.key +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/project.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/protect_code.pt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/protect_code2.pt +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/public.key +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/public_capsule.zip +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/pyarmor-webui.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/pyarmor.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/pyshield.key +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/pyshield.lic +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/pytransform.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/reform.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/register.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/sppmode.py +0 -0
- {pyarmor-8.0.17 → pyarmor-8.0.18}/src/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: pyarmor
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.18
|
|
4
4
|
Summary: A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
|
|
5
5
|
Home-page: https://github.com/dashingsoft/pyarmor
|
|
6
6
|
Author: Jondy Zhao
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: pyarmor
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.18
|
|
4
4
|
Summary: A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
|
|
5
5
|
Home-page: https://github.com/dashingsoft/pyarmor
|
|
6
6
|
Author: Jondy Zhao
|
|
@@ -85,6 +85,11 @@ def format_gen_args(ctx, args):
|
|
|
85
85
|
options['no_runtime'] = True
|
|
86
86
|
options['use_runtime'] = args.use_runtime
|
|
87
87
|
|
|
88
|
+
if options.get('assert_call') or options.get('assert_import'):
|
|
89
|
+
if options.get('restrict_module', 0) < 2:
|
|
90
|
+
logger.debug('implicitly set restrict_module = 2')
|
|
91
|
+
options['restrict_module'] = 2
|
|
92
|
+
|
|
88
93
|
if options.get('restrict_module', 0) > 1:
|
|
89
94
|
options['mix_coname'] = 1
|
|
90
95
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
;; Pyarmor version
|
|
4
4
|
major = 8
|
|
5
5
|
minor = 0
|
|
6
|
-
patch =
|
|
6
|
+
patch = 18
|
|
7
7
|
|
|
8
8
|
;; Core version
|
|
9
9
|
core = 1
|
|
@@ -55,7 +55,7 @@ encoding = utf-8
|
|
|
55
55
|
;; the interpreter as given by -O options. Explicit levels are 0 (no
|
|
56
56
|
;; optimization; __debug__ is true), 1 (asserts are removed, __debug__
|
|
57
57
|
;; is false) or 2 (docstrings are removed too).
|
|
58
|
-
optimize =
|
|
58
|
+
optimize = 1
|
|
59
59
|
no_annotations = true
|
|
60
60
|
no_type_comments = true
|
|
61
61
|
|
|
@@ -100,9 +100,6 @@ clear_module_co = 1
|
|
|
100
100
|
;; Sometimes __file__ is not defined, replace it with __name__ to fix this issue
|
|
101
101
|
bootstrap_file = __file__
|
|
102
102
|
|
|
103
|
-
;; Do not obfuscate len(co.co_code) < this value
|
|
104
|
-
co_threshold = 8
|
|
105
|
-
|
|
106
103
|
;; Exclude co objects by co_name
|
|
107
104
|
exclude_co_names = <lambda> <listcomp> <setcomp> <dictcomp> <generator>
|
|
108
105
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|