Problems defining install-platlib in pydistutils.cfg --
According to the docs I should be able to simply define this in my ~/.pydistutils.cfg and be off and running.
[install]
install-base=$HOME
install-purelib=python/lib
install-platlib=python/lib.$PLAT
install-scripts=python/scripts
install-data=python/data
But - when I do this I simply get this error...
error: install-base or install-platbase supplied, but installation scheme is incomplete
But I follow开发者_如何学Goed the docs explicitly. Can anyone shed any light on why this is occurring; and how to fix it??
You MUST include this..
install-headers=python/??
So the final looks like this..
[install]
install-base=$HOME
install-purelib=python/lib
install-platlib=python/lib.$PLAT
install-scripts=python/scripts
install-headers=python/include
install-data=python/data
精彩评论