|
236 | 236 | <ModName>importlib._bootstrap</ModName>
|
237 | 237 | <IntFile>$(IntDir)importlib._bootstrap.g.h</IntFile>
|
238 | 238 | <OutFile>$(PySourcePath)Python\frozen_modules\importlib._bootstrap.h</OutFile>
|
| 239 | + <DeepIntFile>$(IntDir)importlib._bootstrap.g.c</DeepIntFile> |
| 240 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.importlib._bootstrap.c</DeepOutFile> |
239 | 241 | </None>
|
240 | 242 | <None Include="..\Lib\importlib\_bootstrap_external.py">
|
241 | 243 | <ModName>importlib._bootstrap_external</ModName>
|
242 | 244 | <IntFile>$(IntDir)importlib._bootstrap_external.g.h</IntFile>
|
243 | 245 | <OutFile>$(PySourcePath)Python\frozen_modules\importlib._bootstrap_external.h</OutFile>
|
| 246 | + <DeepIntFile>$(IntDir)importlib._bootstrap_external.g.c</DeepIntFile> |
| 247 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.importlib._bootstrap_external.c</DeepOutFile> |
244 | 248 | </None>
|
245 | 249 | <None Include="..\Lib\zipimport.py">
|
246 | 250 | <ModName>zipimport</ModName>
|
247 | 251 | <IntFile>$(IntDir)zipimport.g.h</IntFile>
|
248 | 252 | <OutFile>$(PySourcePath)Python\frozen_modules\zipimport.h</OutFile>
|
| 253 | + <DeepIntFile>$(IntDir)zipimport.g.c</DeepIntFile> |
| 254 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.zipimport.c</DeepOutFile> |
249 | 255 | </None>
|
250 | 256 | <None Include="..\Lib\abc.py">
|
251 | 257 | <ModName>abc</ModName>
|
252 | 258 | <IntFile>$(IntDir)abc.g.h</IntFile>
|
253 | 259 | <OutFile>$(PySourcePath)Python\frozen_modules\abc.h</OutFile>
|
| 260 | + <DeepIntFile>$(IntDir)abc.g.c</DeepIntFile> |
| 261 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.abc.c</DeepOutFile> |
254 | 262 | </None>
|
255 | 263 | <None Include="..\Lib\codecs.py">
|
256 | 264 | <ModName>codecs</ModName>
|
257 | 265 | <IntFile>$(IntDir)codecs.g.h</IntFile>
|
258 | 266 | <OutFile>$(PySourcePath)Python\frozen_modules\codecs.h</OutFile>
|
| 267 | + <DeepIntFile>$(IntDir)codecs.g.c</DeepIntFile> |
| 268 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.codecs.c</DeepOutFile> |
259 | 269 | </None>
|
260 | 270 | <None Include="..\Lib\io.py">
|
261 | 271 | <ModName>io</ModName>
|
262 | 272 | <IntFile>$(IntDir)io.g.h</IntFile>
|
263 | 273 | <OutFile>$(PySourcePath)Python\frozen_modules\io.h</OutFile>
|
| 274 | + <DeepIntFile>$(IntDir)io.g.c</DeepIntFile> |
| 275 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.io.c</DeepOutFile> |
264 | 276 | </None>
|
265 | 277 | <None Include="..\Lib\_collections_abc.py">
|
266 | 278 | <ModName>_collections_abc</ModName>
|
267 | 279 | <IntFile>$(IntDir)_collections_abc.g.h</IntFile>
|
268 | 280 | <OutFile>$(PySourcePath)Python\frozen_modules\_collections_abc.h</OutFile>
|
| 281 | + <DeepIntFile>$(IntDir)_collections_abc.g.c</DeepIntFile> |
| 282 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df._collections_abc.c</DeepOutFile> |
269 | 283 | </None>
|
270 | 284 | <None Include="..\Lib\_sitebuiltins.py">
|
271 | 285 | <ModName>_sitebuiltins</ModName>
|
272 | 286 | <IntFile>$(IntDir)_sitebuiltins.g.h</IntFile>
|
273 | 287 | <OutFile>$(PySourcePath)Python\frozen_modules\_sitebuiltins.h</OutFile>
|
| 288 | + <DeepIntFile>$(IntDir)_sitebuiltins.g.c</DeepIntFile> |
| 289 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df._sitebuiltins.c</DeepOutFile> |
274 | 290 | </None>
|
275 | 291 | <None Include="..\Lib\genericpath.py">
|
276 | 292 | <ModName>genericpath</ModName>
|
277 | 293 | <IntFile>$(IntDir)genericpath.g.h</IntFile>
|
278 | 294 | <OutFile>$(PySourcePath)Python\frozen_modules\genericpath.h</OutFile>
|
| 295 | + <DeepIntFile>$(IntDir)genericpath.g.c</DeepIntFile> |
| 296 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.genericpath.c</DeepOutFile> |
279 | 297 | </None>
|
280 | 298 | <None Include="..\Lib\ntpath.py">
|
281 | 299 | <ModName>ntpath</ModName>
|
282 | 300 | <IntFile>$(IntDir)ntpath.g.h</IntFile>
|
283 | 301 | <OutFile>$(PySourcePath)Python\frozen_modules\ntpath.h</OutFile>
|
| 302 | + <DeepIntFile>$(IntDir)ntpath.g.c</DeepIntFile> |
| 303 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.ntpath.c</DeepOutFile> |
284 | 304 | </None>
|
285 | 305 | <None Include="..\Lib\posixpath.py">
|
286 | 306 | <ModName>posixpath</ModName>
|
287 | 307 | <IntFile>$(IntDir)posixpath.g.h</IntFile>
|
288 | 308 | <OutFile>$(PySourcePath)Python\frozen_modules\posixpath.h</OutFile>
|
| 309 | + <DeepIntFile>$(IntDir)posixpath.g.c</DeepIntFile> |
| 310 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.posixpath.c</DeepOutFile> |
289 | 311 | </None>
|
290 | 312 | <None Include="..\Lib\os.py">
|
291 | 313 | <ModName>os</ModName>
|
292 | 314 | <IntFile>$(IntDir)os.g.h</IntFile>
|
293 | 315 | <OutFile>$(PySourcePath)Python\frozen_modules\os.h</OutFile>
|
| 316 | + <DeepIntFile>$(IntDir)os.g.c</DeepIntFile> |
| 317 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.os.c</DeepOutFile> |
294 | 318 | </None>
|
295 | 319 | <None Include="..\Lib\site.py">
|
296 | 320 | <ModName>site</ModName>
|
297 | 321 | <IntFile>$(IntDir)site.g.h</IntFile>
|
298 | 322 | <OutFile>$(PySourcePath)Python\frozen_modules\site.h</OutFile>
|
| 323 | + <DeepIntFile>$(IntDir)site.g.c</DeepIntFile> |
| 324 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.site.c</DeepOutFile> |
299 | 325 | </None>
|
300 | 326 | <None Include="..\Lib\stat.py">
|
301 | 327 | <ModName>stat</ModName>
|
302 | 328 | <IntFile>$(IntDir)stat.g.h</IntFile>
|
303 | 329 | <OutFile>$(PySourcePath)Python\frozen_modules\stat.h</OutFile>
|
| 330 | + <DeepIntFile>$(IntDir)stat.g.c</DeepIntFile> |
| 331 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.stat.c</DeepOutFile> |
304 | 332 | </None>
|
305 | 333 | <None Include="..\Lib\__hello__.py">
|
306 | 334 | <ModName>__hello__</ModName>
|
307 | 335 | <IntFile>$(IntDir)__hello__.g.h</IntFile>
|
308 | 336 | <OutFile>$(PySourcePath)Python\frozen_modules\__hello__.h</OutFile>
|
| 337 | + <DeepIntFile>$(IntDir)__hello__.g.c</DeepIntFile> |
| 338 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.__hello__.c</DeepOutFile> |
309 | 339 | </None>
|
310 | 340 | <None Include="..\Lib\__phello__\__init__.py">
|
311 | 341 | <ModName>__phello__</ModName>
|
312 | 342 | <IntFile>$(IntDir)__phello__.g.h</IntFile>
|
313 | 343 | <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.h</OutFile>
|
| 344 | + <DeepIntFile>$(IntDir)__phello__.g.c</DeepIntFile> |
| 345 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.__phello__.c</DeepOutFile> |
314 | 346 | </None>
|
315 | 347 | <None Include="..\Lib\__phello__\ham\__init__.py">
|
316 | 348 | <ModName>__phello__.ham</ModName>
|
317 | 349 | <IntFile>$(IntDir)__phello__.ham.g.h</IntFile>
|
318 | 350 | <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.ham.h</OutFile>
|
| 351 | + <DeepIntFile>$(IntDir)__phello__.ham.g.c</DeepIntFile> |
| 352 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.__phello__.ham.c</DeepOutFile> |
319 | 353 | </None>
|
320 | 354 | <None Include="..\Lib\__phello__\ham\eggs.py">
|
321 | 355 | <ModName>__phello__.ham.eggs</ModName>
|
322 | 356 | <IntFile>$(IntDir)__phello__.ham.eggs.g.h</IntFile>
|
323 | 357 | <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.ham.eggs.h</OutFile>
|
| 358 | + <DeepIntFile>$(IntDir)__phello__.ham.eggs.g.c</DeepIntFile> |
| 359 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.__phello__.ham.eggs.c</DeepOutFile> |
324 | 360 | </None>
|
325 | 361 | <None Include="..\Lib\__phello__\spam.py">
|
326 | 362 | <ModName>__phello__.spam</ModName>
|
327 | 363 | <IntFile>$(IntDir)__phello__.spam.g.h</IntFile>
|
328 | 364 | <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.spam.h</OutFile>
|
| 365 | + <DeepIntFile>$(IntDir)__phello__.spam.g.c</DeepIntFile> |
| 366 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.__phello__.spam.c</DeepOutFile> |
329 | 367 | </None>
|
330 | 368 | <None Include="..\Tools\freeze\flag.py">
|
331 | 369 | <ModName>frozen_only</ModName>
|
332 | 370 | <IntFile>$(IntDir)frozen_only.g.h</IntFile>
|
333 | 371 | <OutFile>$(PySourcePath)Python\frozen_modules\frozen_only.h</OutFile>
|
| 372 | + <DeepIntFile>$(IntDir)frozen_only.g.c</DeepIntFile> |
| 373 | + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.frozen_only.c</DeepOutFile> |
334 | 374 | </None>
|
335 | 375 | <!-- END frozen modules -->
|
336 | 376 | </ItemGroup>
|
337 | 377 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
338 | 378 | <ImportGroup Label="ExtensionTargets">
|
339 | 379 | </ImportGroup>
|
340 | 380 | <Target Name="_RebuildFrozen" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGUpdate'">
|
341 |
| - <Exec Command='"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' /> |
| 381 | + <Exec Command='"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.DeepIntFile)"' /> |
342 | 382 |
|
343 |
| - <Copy SourceFiles="%(None.IntFile)" |
| 383 | + <Copy SourceFiles="%(None.DeepIntFile)" |
344 | 384 | DestinationFiles="%(None.OutFile)"
|
345 |
| - Condition="!Exists(%(None.OutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`
`, `
`))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`
`, `
`))')"> |
| 385 | + Condition="!Exists(%(None.OutFile)) or (Exists(%(None.DeepIntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`
`, `
`))' != '$([System.IO.File]::ReadAllText(%(None.DeepIntFile)).Replace(`
`, `
`))')"> |
346 | 386 | <Output TaskParameter="CopiedFiles" ItemName="_Updated" />
|
347 | 387 | </Copy>
|
348 | 388 |
|
349 | 389 | <Message Text="Updated files: @(_Updated->'%(Filename)%(Extension)',', ')"
|
350 | 390 | Condition="'@(_Updated)' != ''" Importance="high" />
|
351 | 391 | </Target>
|
| 392 | + <Target Name="_RebuildDeepFrozen" AfterTargets="_RebuildFrozen" Condition="$(Configuration) != 'PGUpdate'"> |
| 393 | + <Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\scripts\deepfreeze.py" "%(None.OutFile)" "-m" "%(None.ModName)" -o "%(None.IntFile)"' /> |
| 394 | + |
| 395 | + <Copy SourceFiles="%(None.IntFile)" |
| 396 | + DestinationFiles="%(None.DeepOutFile)" |
| 397 | + Condition="!Exists(%(None.DeepOutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.DeepOutFile)).Replace(`
`, `
`))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`
`, `
`))')"> |
| 398 | + <Output TaskParameter="CopiedFiles" ItemName="_DeepUpdated" /> |
| 399 | + </Copy> |
| 400 | + |
| 401 | + <Message Text="Updated files: @(_DeepUpdated->'%(Filename)%(Extension)',', ')" |
| 402 | + Condition="'@(_DeepUpdated)' != ''" Importance="high" /> |
| 403 | + </Target> |
352 | 404 | <Target Name="_CleanFrozen" BeforeTargets="CoreClean" Condition="$(Configuration) != 'PGUpdate'">
|
353 | 405 | <ItemGroup>
|
354 | 406 | <Clean Include="%(None.IntFile)" />
|
|
0 commit comments