pyarmor 9.0.4__zip → 9.0.5__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.
Files changed (125) hide show
  1. {pyarmor-9.0.4 → pyarmor-9.0.5}/PKG-INFO +1 -1
  2. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/__init__.py +1 -1
  3. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/__main__.py +1 -1
  4. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/bootstrap.py +2 -2
  5. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/config.py +1 -1
  6. pyarmor-9.0.5/pyarmor/cli/core.data.1 +0 -0
  7. pyarmor-9.0.5/pyarmor/cli/core.data.2 +0 -0
  8. pyarmor-9.0.5/pyarmor/cli/core.data.3 +0 -0
  9. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/default.cfg +2 -2
  10. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/plugin.py +3 -0
  11. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/config.py +1 -1
  12. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor.egg-info/PKG-INFO +1 -1
  13. pyarmor-9.0.5/pyarmor.egg-info/requires.txt +1 -0
  14. {pyarmor-9.0.4 → pyarmor-9.0.5}/setup.py +1 -1
  15. pyarmor-9.0.4/pyarmor/cli/core.data.1 +0 -0
  16. pyarmor-9.0.4/pyarmor/cli/core.data.2 +0 -0
  17. pyarmor-9.0.4/pyarmor/cli/core.data.3 +0 -0
  18. pyarmor-9.0.4/pyarmor.egg-info/requires.txt +0 -1
  19. {pyarmor-9.0.4 → pyarmor-9.0.5}/MANIFEST.in +0 -0
  20. {pyarmor-9.0.4 → pyarmor-9.0.5}/README.md +0 -0
  21. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/README.rst +0 -0
  22. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/__init__.py +0 -0
  23. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/benchmark.py +0 -0
  24. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/build_meta.py +0 -0
  25. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/bug.py +0 -0
  26. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/context.py +0 -0
  27. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/docker.py +0 -0
  28. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/generate.py +0 -0
  29. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/hdinfo.py +0 -0
  30. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/merge.py +0 -0
  31. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/mixer.py +0 -0
  32. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/public_capsule.zip +0 -0
  33. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/register.py +0 -0
  34. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/repack.py +0 -0
  35. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/resource.py +0 -0
  36. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cli/shell.py +0 -0
  37. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/cobuilder.py +0 -0
  38. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/README-ZH.md +0 -0
  39. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/README.md +0 -0
  40. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/build-for-exe.bat +0 -0
  41. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/build-for-freeze.bat +0 -0
  42. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/build-with-project.bat +0 -0
  43. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/build-with-project.sh +0 -0
  44. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/cx_Freeze/hello.py +0 -0
  45. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/cx_Freeze/queens.py +0 -0
  46. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/cx_Freeze/setup.py +0 -0
  47. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/helloworld/foo.py +0 -0
  48. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/obfuscate-app.bat +0 -0
  49. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/obfuscate-app.sh +0 -0
  50. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/obfuscate-pkg.bat +0 -0
  51. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/obfuscate-pkg.sh +0 -0
  52. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pack-obfuscated-scripts.bat +0 -0
  53. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pack-obfuscated-scripts.sh +0 -0
  54. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/py2exe/hello.py +0 -0
  55. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/py2exe/queens.py +0 -0
  56. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/py2exe/setup.py +0 -0
  57. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Arithmetic.py +0 -0
  58. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Calls.py +0 -0
  59. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/CommandLine.py +0 -0
  60. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Constructs.py +0 -0
  61. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Dict.py +0 -0
  62. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Exceptions.py +0 -0
  63. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Imports.py +0 -0
  64. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Instances.py +0 -0
  65. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Lists.py +0 -0
  66. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Lookups.py +0 -0
  67. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/NewInstances.py +0 -0
  68. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Numbers.py +0 -0
  69. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Setup.py +0 -0
  70. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Strings.py +0 -0
  71. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/Tuples.py +0 -0
  72. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/With.py +0 -0
  73. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/clockres.py +0 -0
  74. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/package/__init__.py +0 -0
  75. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/package/submodule.py +0 -0
  76. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/pybench.py +0 -0
  77. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/pybench/systimes.py +0 -0
  78. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/simple/queens.py +0 -0
  79. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/testmod/hello.py +0 -0
  80. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/testmod/queens.py +0 -0
  81. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/testpkg/main.py +0 -0
  82. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/testpkg/mypkg/__init__.py +0 -0
  83. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/examples/testpkg/mypkg/foo.py +0 -0
  84. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/__init__.py +0 -0
  85. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/build_data_module.py +0 -0
  86. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/buildext.py +0 -0
  87. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/get_bind_key.py +0 -0
  88. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/get_license_info.py +0 -0
  89. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/get_platform_name.py +0 -0
  90. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/merge.py +0 -0
  91. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/repack.py +0 -0
  92. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/helper/superuntime.py +0 -0
  93. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/license.tri +0 -0
  94. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/packer.py +0 -0
  95. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/platforms/darwin/x86_64/_pytransform.dylib +0 -0
  96. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/platforms/linux/x86/_pytransform.so +0 -0
  97. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/platforms/linux/x86_64/_pytransform.so +0 -0
  98. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/platforms/windows/x86/_pytransform.dll +0 -0
  99. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/platforms/windows/x86_64/_pytransform.dll +0 -0
  100. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/plugins/README.md +0 -0
  101. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/plugins/check_ntp_time.py +0 -0
  102. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/polyfills/__init__.py +0 -0
  103. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/polyfills/argparse.py +0 -0
  104. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/product.key +0 -0
  105. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/project.py +0 -0
  106. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/protect_code.pt +0 -0
  107. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/protect_code2.pt +0 -0
  108. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/public.key +0 -0
  109. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/public_capsule.zip +0 -0
  110. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyarmor-deprecated.py +0 -0
  111. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyarmor-webui.py +0 -0
  112. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyarmor.py +0 -0
  113. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyimcore.py +0 -0
  114. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyshield.key +0 -0
  115. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pyshield.lic +0 -0
  116. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/pytransform.py +0 -0
  117. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/reform.py +0 -0
  118. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/register.py +0 -0
  119. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/sppmode.py +0 -0
  120. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor/utils.py +0 -0
  121. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor.egg-info/SOURCES.txt +0 -0
  122. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor.egg-info/dependency_links.txt +0 -0
  123. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor.egg-info/entry_points.txt +0 -0
  124. {pyarmor-9.0.4 → pyarmor-9.0.5}/pyarmor.egg-info/top_level.txt +0 -0
  125. {pyarmor-9.0.4 → pyarmor-9.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: pyarmor
3
- Version: 9.0.4
3
+ Version: 9.0.5
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
  import logging
2
2
 
3
- __VERSION__ = '9.0.4'
3
+ __VERSION__ = '9.0.5'
4
4
 
5
5
  logger = logging.getLogger('cli')
6
6
 
@@ -756,7 +756,7 @@ def main_entry(argv):
756
756
  log_settings(ctx, args)
757
757
 
758
758
  x, y = sys.version_info[:2]
759
- if not (x == 3 and y > 6 and y < 13):
759
+ if not (x == 3 and y > 6 and y < 14):
760
760
  raise CliError('Python %s.%s is not supported' % (x, y))
761
761
 
762
762
  if args.version:
@@ -47,7 +47,7 @@ def check_prebuilt_runtime_library(platnames, extra=None, rtver=''):
47
47
  if current_rtver == rtver:
48
48
  return
49
49
 
50
- pkgver = 'pyarmor.cli.runtime==%s' % rtver
50
+ pkgver = 'pyarmor.cli.runtime~=%s' % rtver
51
51
  logging.info('install "%s" for cross platforms', pkgver)
52
52
  try:
53
53
  return check_call(instcmd + [pkgver])
@@ -73,7 +73,7 @@ def check_prebuilt_runtime_library(platnames, extra=None, rtver=''):
73
73
  pkgnames.remove(entry.name)
74
74
 
75
75
  if pkgnames:
76
- pkgvers = ['pyarmor.cli.core.%s==%s' % (x, corever) for x in pkgnames]
76
+ pkgvers = ['pyarmor.cli.core.%s~=%s' % (x, corever) for x in pkgnames]
77
77
  logging.info('install packages %s for cross platforms', str(pkgvers))
78
78
  try:
79
79
  check_call(instcmd + pkgvers)
@@ -148,7 +148,7 @@ class Configer(object):
148
148
 
149
149
  if not optvalue:
150
150
  if op is None:
151
- self._clear(sect, optname, local, name)
151
+ self._remove(sect, [optname], local, name)
152
152
  return
153
153
 
154
154
  ctxcfg = ctx.cfg
Binary file
Binary file
Binary file
@@ -3,10 +3,10 @@
3
3
  ;; Pyarmor version
4
4
  major = 9
5
5
  minor = 0
6
- patch = 4
6
+ patch = 5
7
7
 
8
8
  ;; Compatible core version
9
- cli.core = 7.6.1
9
+ cli.core = 7.6.2
10
10
 
11
11
  ;; Deprecated since Pyarmor 8.2.5
12
12
  ; cli.runtime = 3.2.5
@@ -249,6 +249,9 @@ class DarwinUniversalPlugin:
249
249
  def post_build(ctx, inputs, outputs, pack):
250
250
  from shutil import rmtree
251
251
 
252
+ if not ctx.native_platform.startswith('darwin.'):
253
+ return
254
+
252
255
  def rebuild_init(oneplat, init_script):
253
256
  with open(init_script, 'r') as f:
254
257
  lines = f.readlines()
@@ -1,6 +1,6 @@
1
1
  from sys import platform
2
2
 
3
- version = '9.0.4'
3
+ version = '9.0.5'
4
4
 
5
5
  # The corresponding version of pytransform.so
6
6
  core_version = 'r52.6'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: pyarmor
3
- Version: 9.0.4
3
+ Version: 9.0.5
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
@@ -0,0 +1 @@
1
+ pyarmor.cli.core~=7.6.2
@@ -113,7 +113,7 @@ setup(
113
113
  },
114
114
 
115
115
  install_requires=[
116
- 'pyarmor.cli.core~=7.6.1'
116
+ 'pyarmor.cli.core~=7.6.2'
117
117
  ],
118
118
 
119
119
  entry_points={
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- pyarmor.cli.core~=7.6.1
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