File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 183183 <None Include =" x86\clrmodule-platform.il" />
184184 </ItemGroup >
185185 <ItemGroup >
186- <EmbeddedResource Include =" resources\clr.py" />
186+ <EmbeddedResource Include =" resources\clr.py" >
187+ <LogicalName >clr.py</LogicalName >
188+ </EmbeddedResource >
187189 </ItemGroup >
188190 <Import Project =" $(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
189191 <ProjectExtensions >
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ public static void Initialize() {
159159 Runtime . PyDict_SetItemString ( module_globals , "__builtins__" , builtins ) ;
160160
161161 var assembly = Assembly . GetExecutingAssembly ( ) ;
162- using ( Stream stream = assembly . GetManifestResourceStream ( "Python.Runtime.resources. clr.py" ) )
162+ using ( Stream stream = assembly . GetManifestResourceStream ( "clr.py" ) )
163163 using ( StreamReader reader = new StreamReader ( stream ) )
164164 {
165165 // add the contents of clr.py to the module
You can’t perform that action at this time.
0 commit comments