handle multi-version packages like Django, fixes #1