开发者

Problems defining install-platlib in pydistutils.cfg --

开发者 https://www.devze.com 2023-01-12 18:45 出处:网络
According to the docs I should be able to simply define this in my ~/.pydistutils.cfg and be off and running.

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号