We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a170cbf commit 4ba6221Copy full SHA for 4ba6221
app/helpers/ExerciseConfig/Pipeline/Box/Boxes/Python3CompilationBox.php
@@ -109,6 +109,11 @@ public function compile(CompilationParams $params): array {
109
foreach ($sourceFiles as $sourceFile) {
110
$pycFilenames[] = pathinfo($sourceFile, PATHINFO_FILENAME) . self::$PYC_EXT;
111
}
112
+
113
+ // some python libraries counts on presence of py source files, therefore
114
+ // we have to output them too, so they also will be copied from compilation
115
+ // folder
116
+ $pycFilenames = array_merge($pycFilenames, $sourceFiles);
117
$this->getOutputPortValue(self::$PYC_FILES_PORT_KEY)->setValue($pycFilenames);
118
119
// check if file produced by compilation was successfully created
0 commit comments