Skip to content

Commit be1bc8a

Browse files
committed
[VI] Updating versions
1 parent 6c40295 commit be1bc8a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Exe_gen/generate_pyleecan_exe.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from os.path import abspath, dirname, join, isdir, isfile
33
from shutil import rmtree, copy
44
import re
5-
from pyleecan.Generator.run_generate_classes import generate_code
65
from datetime import datetime
76
import click
87

@@ -159,19 +158,19 @@ def generate_executable(
159158
# 4 Set environment
160159
###################
161160
if start <= 4 and stop >= 4:
162-
print("Step4: Setting Virtual env for release...")
161+
print("Step 4: Setting Virtual env for release...")
163162

164163
# Creating Python env in which to install needed package
165164
os.system("python -m venv " + ENV_PATH)
166165
# Updating packages
167166
os.system(join(ENV_PATH, "Scripts", "pip") + " install -U pip")
168-
os.system(join(ENV_PATH, "Scripts", "pip") + " install -U pyinstaller")
167+
os.system(join(ENV_PATH, "Scripts", "pip") + " install -U pyinstaller==5.1")
169168
os.system(join(ENV_PATH, "Scripts", "pip") + " install gmsh-sdk")
170169
# Installing required packages
171170
os.system(
172171
join(ENV_PATH, "Scripts", "pip")
173172
+ " install -r "
174-
+ join(PRJ_PATH, "requirements.txt")
173+
+ join(PRJ_PATH, "requirements-full.txt")
175174
)
176175
else:
177176
print("Skipping step 4: environment setup")

0 commit comments

Comments
 (0)