A simple guide to install PyQt5 on Mac OS X 10.11 and use python 3.5 on a virtualenv.
- xcode latest
- python 3.5.1
- Qt libraries 5.6.0
| #!/usr/bin/env python | |
| #coding=utf-8 | |
| # | |
| # Generate a list of dnsmasq rules with ipset for gfwlist | |
| # | |
| # Copyright (C) 2014 http://www.shuyz.com | |
| # Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules | |
| import urllib2 | |
| import re |