File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -948,17 +948,21 @@ function createPythonFiles() {
948
948
return mapPromiseFnOverThreeModules ( function ( relativePath ) {
949
949
return createPythonWrapper ( relativePath ) . then ( function ( ) {
950
950
// ensures each dir has empty __init__.py file for proper importing of sub dirs
951
- createPythonModuleInitFile ( relativePath ) ;
951
+ return createPythonModuleInitFile ( relativePath ) ;
952
952
} ) ;
953
953
} )
954
954
. then ( function ( ) {
955
955
return mapPromiseFnOverFileList ( CUSTOM_CLASSES , function ( relativePath ) {
956
956
return createPythonWrapper ( relativePath ) . then ( function ( ) {
957
957
// ensures each dir has empty __init__.py file for proper importing of sub dirs
958
- createPythonModuleInitFile ( relativePath ) ;
958
+ return createPythonModuleInitFile ( relativePath ) ;
959
959
} ) ;
960
960
} ) ;
961
961
} )
962
+ . then ( function ( ) {
963
+ // Manually ensure base init file is created
964
+ return createPythonModuleInitFile ( '_base/__init__' ) ;
965
+ } )
962
966
. then ( function ( ) {
963
967
// top level __init__.py file imports *all* pythreejs modules into namespace
964
968
return createTopLevelPythonModuleFile ( ) ;
You can’t perform that action at this time.
0 commit comments