revmove framework info in setup.py
refactoring