python package tweak: support env