Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
While Python 2 is being deprecated at the end of the year, this fix makes the code clearer, and adds unit tests for .pth files. The main reason I would like to see this go through is because I will need to support the python that ships with Maya/3ds Max/Nuke, etc on windows until we stop using them. Given that python 3 support is only just getting added to these applications, I'm going to have to support python 2 for a while on windows environments.
How to Reproduce
Substitute Qt.py for your pip package checkout of choice.
I will submit a pull request shortly.