PyProtect-v3 3.2.0__tar.gz → 3.2.1__tar.gz

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 (21) hide show
  1. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PKG-INFO +1 -1
  2. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/PKG-INFO +1 -1
  3. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/SOURCES.txt +1 -0
  4. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyproject.toml +4 -1
  5. pyprotect_v3-3.2.1/pyprotect/_version.py +1 -0
  6. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/obfuscator.py +3 -2
  7. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/MANIFEST.in +0 -0
  8. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/dependency_links.txt +0 -0
  9. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/entry_points.txt +0 -0
  10. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/requires.txt +0 -0
  11. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/top_level.txt +0 -0
  12. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/README.md +0 -0
  13. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/__init__.py +0 -0
  14. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/__main__.py +0 -0
  15. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/anti_debug.py +0 -0
  16. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/crypto.py +0 -0
  17. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/engine.c +0 -0
  18. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/engine.py +0 -0
  19. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/hooks.py +0 -0
  20. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/setup.cfg +0 -0
  21. {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyProtect-v3
3
- Version: 3.2.0
3
+ Version: 3.2.1
4
4
  Summary: Python script obfuscation library with AES-256-GCM encryption and C extension acceleration
5
5
  Author-email: NguyenNgocNam <c.nam020213@gmail.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyProtect-v3
3
- Version: 3.2.0
3
+ Version: 3.2.1
4
4
  Summary: Python script obfuscation library with AES-256-GCM encryption and C extension acceleration
5
5
  Author-email: NguyenNgocNam <c.nam020213@gmail.com>
6
6
  License-Expression: MIT
@@ -10,6 +10,7 @@ PyProtect_v3.egg-info/requires.txt
10
10
  PyProtect_v3.egg-info/top_level.txt
11
11
  pyprotect/__init__.py
12
12
  pyprotect/__main__.py
13
+ pyprotect/_version.py
13
14
  pyprotect/anti_debug.py
14
15
  pyprotect/crypto.py
15
16
  pyprotect/engine.c
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "PyProtect-v3"
7
- version = "3.2.0"
7
+ dynamic = ["version"]
8
8
  description = "Python script obfuscation library with AES-256-GCM encryption and C extension acceleration"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -41,6 +41,9 @@ pyprotect = "pyprotect.__main__:main"
41
41
  dev = ["pytest>=7.0", "pytest-cov>=4.0"]
42
42
  build = ["wheel>=0.27.0", "build>=0.7.0"]
43
43
 
44
+ [tool.setuptools.dynamic]
45
+ version = {attr = "pyprotect._version.__version__"}
46
+
44
47
  [tool.setuptools.packages.find]
45
48
  include = ["pyprotect*"]
46
49
 
@@ -0,0 +1 @@
1
+ __version__ = "3.2.1"
@@ -15,6 +15,7 @@ import ast
15
15
  import base64
16
16
 
17
17
  from pyprotect.engine_c import encrypt
18
+ from pyprotect._version import __version__ as VERSION
18
19
 
19
20
 
20
21
  BOOTSTRAP_TEMPLATE = '''# PyProtect-v3 | github.com/PyProtect/PyProtect
@@ -375,7 +376,7 @@ class Obfuscator:
375
376
 
376
377
  # Generate multi bootstrap
377
378
  bootstrap_source = MULTI_BOOTSTRAP_TEMPLATE.format(
378
- version="3.2.0",
379
+ version=VERSION,
379
380
  modules=modules,
380
381
  )
381
382
 
@@ -412,7 +413,7 @@ class Obfuscator:
412
413
  stub_source = _generate_polymorphic_stub(repr(encrypted))
413
414
  else:
414
415
  stub_source = BOOTSTRAP_TEMPLATE.format(
415
- version="3.2.0",
416
+ version=VERSION,
416
417
  payload=encrypted,
417
418
  )
418
419
 
File without changes
File without changes
File without changes
File without changes