2010-08-24 13 views
6

Según el docs debería ser capaz de simplemente definir esto en mi ~/.pydistutils.cfg y estar apagado y funcionando.Problemas para definir install-platlib en pydistutils.cfg -

[install] 
install-base=$HOME 
install-purelib=python/lib 
install-platlib=python/lib.$PLAT 
install-scripts=python/scripts 
install-data=python/data 

Pero - cuando hago esto simplemente me sale este error ...

error: install-base or install-platbase supplied, but installation scheme is incomplete

Pero seguí los documentos de forma explícita. ¿Alguien puede arrojar algo de luz sobre por qué ocurre esto? ¿¿Y como arreglarlo??

Respuesta

7

debe incluir esta ..

install-headers=python/?? 

ve tan a la final como esta ..

[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 
Cuestiones relacionadas