bugfix
python setup tweaks

not sure if they work yet