porting rpm to setuptools