pyarmor 8.3.7__zip → 8.3.8__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.3.7 → pyarmor-8.3.8}/PKG-INFO +1 -1
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/__init__.py +1 -1
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/context.py +2 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/default.cfg +3 -3
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/docker.py +1 -1
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/register.py +2 -2
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/config.py +1 -1
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor.egg-info/PKG-INFO +1 -1
- pyarmor-8.3.8/pyarmor.egg-info/requires.txt +1 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/setup.py +1 -1
- pyarmor-8.3.7/pyarmor.egg-info/requires.txt +0 -1
- {pyarmor-8.3.7 → pyarmor-8.3.8}/MANIFEST.in +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/README.md +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/README.rst +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/__init__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/benchmark.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/build_meta.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/__main__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/bootstrap.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/config.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/core.data.1 +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/core.data.2 +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/core.data.3 +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/generate.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/group.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/merge.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/mixer.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/plugin.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/public_capsule.zip +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/repack.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/resource.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cli/shell.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/cobuilder.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/README-ZH.md +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/README.md +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/build-for-exe.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/build-for-freeze.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/build-with-project.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/build-with-project.sh +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/cx_Freeze/hello.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/cx_Freeze/queens.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/cx_Freeze/setup.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/helloworld/foo.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/obfuscate-app.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/obfuscate-app.sh +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/obfuscate-pkg.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/obfuscate-pkg.sh +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pack-obfuscated-scripts.bat +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pack-obfuscated-scripts.sh +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/py2exe/hello.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/py2exe/queens.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/py2exe/setup.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Arithmetic.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Calls.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/CommandLine.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Constructs.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Dict.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Exceptions.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Imports.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Instances.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Lists.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Lookups.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/NewInstances.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Numbers.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Setup.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Strings.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/Tuples.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/With.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/clockres.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/package/__init__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/package/submodule.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/pybench.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/pybench/systimes.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/simple/queens.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/testmod/hello.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/testmod/queens.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/testpkg/main.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/testpkg/mypkg/__init__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/examples/testpkg/mypkg/foo.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/__init__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/build_data_module.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/buildext.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/get_bind_key.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/get_license_info.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/get_platform_name.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/merge.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/repack.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/helper/superuntime.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/license.tri +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/packer.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/platforms/darwin/x86_64/_pytransform.dylib +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/platforms/linux/x86/_pytransform.so +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/platforms/linux/x86_64/_pytransform.so +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/platforms/windows/x86/_pytransform.dll +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/platforms/windows/x86_64/_pytransform.dll +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/plugins/README.md +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/plugins/check_ntp_time.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/polyfills/__init__.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/polyfills/argparse.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/product.key +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/project.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/protect_code.pt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/protect_code2.pt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/public.key +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/public_capsule.zip +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyarmor-deprecated.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyarmor-webui.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyarmor.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyimcore.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyshield.key +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pyshield.lic +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/pytransform.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/reform.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/register.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/sppmode.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor/utils.py +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor.egg-info/SOURCES.txt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor.egg-info/dependency_links.txt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor.egg-info/entry_points.txt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/pyarmor.egg-info/top_level.txt +0 -0
- {pyarmor-8.3.7 → pyarmor-8.3.8}/setup.cfg +0 -0
|
@@ -121,6 +121,8 @@ def format_platform(plat, arch):
|
|
|
121
121
|
if any([fnmatchcase(arch, x) for x in archlist]):
|
|
122
122
|
mach = alias
|
|
123
123
|
break
|
|
124
|
+
else:
|
|
125
|
+
raise RuntimeError('unsupported arch "%s"' % arch)
|
|
124
126
|
|
|
125
127
|
if plat == 'windows' and mach == 'x86_64':
|
|
126
128
|
bitness = calcsize('P'.encode()) * 8
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
;; Pyarmor version
|
|
4
4
|
major = 8
|
|
5
5
|
minor = 3
|
|
6
|
-
patch =
|
|
6
|
+
patch = 8
|
|
7
7
|
|
|
8
8
|
;; Compatible core version
|
|
9
|
-
cli.core = 4.3.
|
|
9
|
+
cli.core = 4.3.5
|
|
10
10
|
|
|
11
11
|
;; Deprecated since Pyarmor 8.2.5
|
|
12
12
|
; cli.runtime = 3.2.5
|
|
@@ -112,7 +112,7 @@ rft_dev_mode = 0
|
|
|
112
112
|
; support_nuitka = 0
|
|
113
113
|
|
|
114
114
|
;; Group device flag for machine id
|
|
115
|
-
group_device_flag =
|
|
115
|
+
group_device_flag = 21
|
|
116
116
|
|
|
117
117
|
;;
|
|
118
118
|
;; Part 2: global/local/module level options
|
|
@@ -90,7 +90,7 @@ def main_entry():
|
|
|
90
90
|
register_pyarmor(ctx, args.regfile[0])
|
|
91
91
|
CONFIG['ctx'] = ctx
|
|
92
92
|
|
|
93
|
-
mflags = 20, 18, 16, 11, 10
|
|
93
|
+
mflags = 21, 20, 18, 16, 11, 10
|
|
94
94
|
CONFIG['machid'] = [Pytransform3.get_hd_info(x) for x in mflags]
|
|
95
95
|
logging.debug('machine id: %s', CONFIG['machid'])
|
|
96
96
|
|
|
@@ -155,7 +155,7 @@ class Register(object):
|
|
|
155
155
|
if 'group.tokens' in namelist:
|
|
156
156
|
logger.debug('group license for machines: %s',
|
|
157
157
|
[x for x in namelist if x.startswith('tokens')])
|
|
158
|
-
for idver in (18, 20, 16, 11):
|
|
158
|
+
for idver in (21, 18, 20, 16, 11):
|
|
159
159
|
machid = self._get_machine_id(idver).decode('utf-8')
|
|
160
160
|
logger.debug('got machine id: %s', machid)
|
|
161
161
|
name = '/'.join(['tokens', machid])
|
|
@@ -217,7 +217,7 @@ class Register(object):
|
|
|
217
217
|
logger.info('generating device file "%s"', path)
|
|
218
218
|
os.makedirs(os.path.dirname(path), exist_ok=True)
|
|
219
219
|
uinfo = uname()
|
|
220
|
-
devflag = self.ctx.cfg['builder'].getint('group_device_flag',
|
|
220
|
+
devflag = self.ctx.cfg['builder'].getint('group_device_flag', 21)
|
|
221
221
|
machid = self._get_machine_id(devflag).decode('utf-8')
|
|
222
222
|
logger.debug('current machine id is "%s"', machid)
|
|
223
223
|
tpl = Template('\n'.join([
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pyarmor.cli.core~=4.3.5
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pyarmor.cli.core~=4.3.4
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|