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 tloredo
Recipients ned.deily, ronaldoussoren, tloredo
Date 2011-02-19.04:53:25
SpamBayes Score 1.8303636e-11
Marked as misclassified No
Message-id <1298091206.07.0.0645793207498.issue11217@psf.upfronthosting.co.za>
In-reply-to
Content
I believe this is a bug.

The -32 part of Mac/Makefile.in builds and links the -32 versions here:


ifneq ($(LIPO_32BIT_FLAGS),)
	lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw
	lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32 pythonw
	ln -sf python$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/python-32"
	ln -sf pythonw$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/pythonw-32"
endif

For a framework build, the destinations are the framework location, and indeed the brew install does put them there.

Right after in Makefile.in is the unix tools part (which is run by default):

installunixtools:
	if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then  \
		$(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\
	fi
	for fn in python pythonw idle pydoc python-config smtpd.py 2to3 \
		  python$(VERSION) pythonw$(VERSION) idle$(VERSION) \
		  pydoc$(VERSION) python$(VERSION)-config smtpd$(VERSION).py \
		  2to3-$(VERSION) ;\
	do \
		ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\
	done

I believe this needs an "ifneq ($(LIPO_32BIT_FLAGS),)" block that explicitly handles $(VERSION)-32, just like the pythonw section before it.
History
Date User Action Args
2011-02-19 04:53:26tloredosetrecipients: + tloredo, ronaldoussoren, ned.deily
2011-02-19 04:53:26tloredosetmessageid: <1298091206.07.0.0645793207498.issue11217@psf.upfronthosting.co.za>
2011-02-19 04:53:25tloredolinkissue11217 messages
2011-02-19 04:53:25tloredocreate