|
2 | 2 | from os.path import abspath, dirname, join, isdir, isfile |
3 | 3 | from shutil import rmtree, copy |
4 | 4 | import re |
5 | | -from pyleecan.Generator.run_generate_classes import generate_code |
6 | 5 | from datetime import datetime |
7 | 6 | import click |
8 | 7 |
|
@@ -159,19 +158,19 @@ def generate_executable( |
159 | 158 | # 4 Set environment |
160 | 159 | ################### |
161 | 160 | if start <= 4 and stop >= 4: |
162 | | - print("Step4: Setting Virtual env for release...") |
| 161 | + print("Step 4: Setting Virtual env for release...") |
163 | 162 |
|
164 | 163 | # Creating Python env in which to install needed package |
165 | 164 | os.system("python -m venv " + ENV_PATH) |
166 | 165 | # Updating packages |
167 | 166 | 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") |
169 | 168 | os.system(join(ENV_PATH, "Scripts", "pip") + " install gmsh-sdk") |
170 | 169 | # Installing required packages |
171 | 170 | os.system( |
172 | 171 | join(ENV_PATH, "Scripts", "pip") |
173 | 172 | + " install -r " |
174 | | - + join(PRJ_PATH, "requirements.txt") |
| 173 | + + join(PRJ_PATH, "requirements-full.txt") |
175 | 174 | ) |
176 | 175 | else: |
177 | 176 | print("Skipping step 4: environment setup") |
|
0 commit comments