Skip to content

Commit 349a5eb

Browse files
committed
Setting Python version for Embeddable components
Former-commit-id: 19cbfb2
1 parent 1a26784 commit 349a5eb

File tree

7 files changed

+10
-3
lines changed

7 files changed

+10
-3
lines changed

samples/environments/deploy/AsyncEvents/Unit1.fmx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ object Form1: TForm1
3232
end
3333
object PythonEngine1: TPythonEngine
3434
AutoLoad = False
35-
DllName = 'python39.dll'
36-
DllPath = 'C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\3.9'
35+
DllName = 'python311.dll'
3736
APIVersion = 1013
3837
RegVersion = '3.9'
3938
UseLastKnownVersion = False
@@ -49,11 +48,11 @@ object Form1: TForm1
4948
OnReady = PyEmbeddedEnvironment1Ready
5049
AutoLoad = False
5150
SynchronizeEvents = False
51+
PythonVersion = '3.9'
5252
PythonEngine = PythonEngine1
5353
Distributions = <>
5454
Scanner.AutoScan = True
5555
Scanner.ScanRule = srFileName
56-
Scanner.DeleteEmbeddable = True
5756
Left = 224
5857
Top = 96
5958
end

samples/environments/deploy/AsyncLoad/Unit1.fmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ object Form1: TForm1
4343
OnError = PyEmbeddedEnvironment1Error
4444
OnReady = PyEmbeddedEnvironment1Ready
4545
AutoLoad = False
46+
PythonVersion = '3.9'
4647
PythonEngine = PythonEngine1
4748
Distributions = <>
4849
Scanner.AutoScan = True

samples/environments/deploy/AutoLoad/Unit1.fmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ object Form1: TForm1
4343
OnError = PyEmbeddedEnvironment1Error
4444
OnReady = PyEmbeddedEnvironment1Ready
4545
AutoLoad = True
46+
PythonVersion = '3.9'
4647
PythonEngine = PythonEngine1
4748
Distributions = <>
4849
Scanner.AutoScan = True

samples/environments/deploy/ExtractPython/Unit1.fmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ object Form1: TForm1
5959
OnError = PyEmbeddedEnvironment1Error
6060
OnReady = PyEmbeddedEnvironment1Ready
6161
AutoLoad = False
62+
PythonVersion = '3.9'
6263
PythonEngine = PythonEngine1
6364
OnZipProgress = PyEmbeddedEnvironment1ZipProgress
6465
Distributions = <>

samples/environments/deploy/ManuallyLoad/Unit1.fmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ object Form1: TForm1
4242
OnError = PyEmbeddedEnvironment1Error
4343
OnReady = PyEmbeddedEnvironment1Ready
4444
AutoLoad = False
45+
PythonVersion = '3.9'
4546
PythonEngine = PythonEngine1
4647
Distributions = <>
4748
Scanner.AutoScan = True

samples/environments/deploy/SimpleAndroid/Unit1.fmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ object Form1: TForm1
4949
OnReady = PyEmbeddedEnvironment1Ready
5050
AutoLoad = False
5151
SynchronizeEvents = False
52+
PythonVersion = '3.9'
5253
PythonEngine = PythonEngine1
5354
Distributions = <>
5455
Scanner.AutoScan = True

samples/environments/deploy/SimpleDeployable/Unit1.fmx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,6 +2187,8 @@ object Form1: TForm1
21872187
StyleLookup = ''
21882188
TabOrder = 0
21892189
Text = 'Run'
2190+
ExplicitSize.cx = 41.000000000000000000
2191+
ExplicitSize.cy = 26.000000000000000000
21902192
object Memo1: TMemo
21912193
Touch.InteractiveGestures = [Pan, LongTap, DoubleTap]
21922194
DataDetectorTypes = []
@@ -2218,6 +2220,7 @@ object Form1: TForm1
22182220
OnReady = PyEmbeddedEnvironment1Ready
22192221
OnPluginInstall = PyEmbeddedEnvironment1PluginInstall
22202222
AutoLoad = True
2223+
PythonVersion = '3.9'
22212224
PythonEngine = PythonEngine1
22222225
Distributions = <>
22232226
Scanner.AutoScan = True

0 commit comments

Comments
 (0)