This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, brian.curtin
Date 2012-07-23.06:21:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343024510.61.0.395713620689.issue15431@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, the _freeze_importlib tool is not built, so it's not possible to refresh the file Python/importlib.h, which makes development on the importlib very difficult on Windows.

The Makefile contains the rules below, it's probably necessary to implement a similar behavior in a new build project:

Modules/_freeze_importlib: Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN)
	$(LINKCC) $(PY_LDFLAGS) -o $@ Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)

Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Modules/_freeze_importlib.c
	$(MAKE) Modules/_freeze_importlib
	./Modules/_freeze_importlib \
		$(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
History
Date User Action Args
2012-07-23 06:21:50amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, brian.curtin
2012-07-23 06:21:50amaury.forgeotdarcsetmessageid: <1343024510.61.0.395713620689.issue15431@psf.upfronthosting.co.za>
2012-07-23 06:21:49amaury.forgeotdarclinkissue15431 messages
2012-07-23 06:21:49amaury.forgeotdarccreate