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.
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PKG-INFO +1 -1
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/PKG-INFO +1 -1
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/SOURCES.txt +1 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyproject.toml +4 -1
- pyprotect_v3-3.2.1/pyprotect/_version.py +1 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/obfuscator.py +3 -2
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/MANIFEST.in +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/dependency_links.txt +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/entry_points.txt +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/requires.txt +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/PyProtect_v3.egg-info/top_level.txt +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/README.md +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/__init__.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/__main__.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/anti_debug.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/crypto.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/engine.c +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/engine.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/pyprotect/hooks.py +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/setup.cfg +0 -0
- {pyprotect_v3-3.2.0 → pyprotect_v3-3.2.1}/setup.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyProtect-v3"
|
|
7
|
-
|
|
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=
|
|
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=
|
|
416
|
+
version=VERSION,
|
|
416
417
|
payload=encrypted,
|
|
417
418
|
)
|
|
418
419
|
|
|
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
|