1) The project files for Python.dproj, PythonVcl.dproj and PythonFmx.dproj do not contain all source files and rely on Delphi to find them in the directory next to them and should be included. Due to this, the non-included files are compiled next to their source path (in the folder Source), which is really bad style. It is common practice to have all .dcu files located at one single output directory (without .pas files), which can be added as a library project. The following structures are suggested:
Note 1: Please also have a look at the revised required packages (e.g., Vcl is not required for Python.bpl).
Note 2: I checked this issue only for Delphi 10.4 project files, don't know if it's valid also for other projects.
2) In consequence, the setting "Unit output directory" should be set to " .\$(Platform)\$(Config)" as default for all projects.
3) All units Source\fmx\WrapFmx*.pas try in include {$I Definition.Inc}, but it should be {$I ..\Definition.Inc} (as in Source\vcl\Vcl.Python*.pas).
1) The project files for Python.dproj, PythonVcl.dproj and PythonFmx.dproj do not contain all source files and rely on Delphi to find them in the directory next to them and should be included. Due to this, the non-included files are compiled next to their source path (in the folder Source), which is really bad style. It is common practice to have all .dcu files located at one single output directory (without .pas files), which can be added as a library project. The following structures are suggested:
Note 1: Please also have a look at the revised required packages (e.g., Vcl is not required for Python.bpl). Note 2: I checked this issue only for Delphi 10.4 project files, don't know if it's valid also for other projects.
2) In consequence, the setting "Unit output directory" should be set to " .\$(Platform)\$(Config)" as default for all projects.
3) All units Source\fmx\WrapFmx*.pas try in include
{$I Definition.Inc}
, but it should be{$I ..\Definition.Inc}
(as in Source\vcl\Vcl.Python*.pas).