Rope is a python refactoring library.

Rope can optionally use pysetuptools during build time.