Skip to content

Commit

Permalink
Create new crypto trial based on Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
likianta committed Oct 25, 2021
1 parent 1f85921 commit 763aaf0
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 6 deletions.
8 changes: 4 additions & 4 deletions examples/hello_world_project/pyproject.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"app_name": "Hello World",
"app_version": "0.5.2",
"app_version": "0.5.4",
"description": "Say hello to the given name.",
"authors": [
"Likianta <[email protected]>"
Expand All @@ -25,9 +25,9 @@
"module_paths": [],
"module_paths_scheme": "translate",
"venv": {
"enable_venv": false,
"python_version": "3.9",
"mode": "source_venv",
"enable_venv": true,
"python_version": "3.10",
"mode": "depsland",
"options": {
"depsland": {
"venv_name": "{app_name_lower}_venv",
Expand Down
2 changes: 1 addition & 1 deletion pyportable_installer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .main import full_build
from .main import min_build

__version__ = '4.0.0'
__version__ = '4.0.1'
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import sys

current_pyversion = "python{}{}".format(
sys.version_info.major, sys.version_info.minor
)
target_pyversion = "python310"
if current_pyversion != target_pyversion:
raise Exception(
"Python interpreter version doesn't matched!",
"Required: {}, got {} ({})".format(
target_pyversion, current_pyversion, sys.executable
)
)

__version__ = "0.2.1-trial"

from .inject import inject
from .inject import encrypt_data

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python310
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tool.poetry]
name = "pyportable-installer"
version = "4.0.0"
version = "4.0.1"
description = "Build and distribute portable Python application by all-in-one configuration file."
authors = ["Likianta <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 763aaf0

Please sign in to comment.