peterhudec/liveandletdie — pull request #4 by touilleMan (2014-12-20 19:01:35+00:00)
Title: Pull request

Here is my pull request ;-)

List of changes:
- Add Python3 support along with Python2
- Add OpenSSL to requirement.txt
- `port_in_use` always starts `lsof` with the args originally for darwins (doesn't work on my ubuntu 14.10 with python2/3 otherwise)
- Add TravisCI configuration
- GAE's dev_appserver is obtained using `environ['VIRTUAL_ENV']` given `venv` is not always the virtual env directory (especially when you have `venv2` and `venv3` directories ^^)
- Switch from Chrome to Firefox in the selenium webdriver (Travis complains that it couldn't find the chrome binary)
- Monkey patch the ssl module to disable ssl certificate (this cause a bug with python>2.7.8, see https://www.python.org/dev/peps/pep-0476/), given this is for test purpose I think there is no security issues doing this

Python3 features not working:
- GAE (app engine is python2 only)
- lettuce (lettuce doesn't seems to work with python3)
- Flask SSL doesn't work with Python3 (werkzeug throw an `AttributeError: 'module' object has no attribute 'maxint'`, which is normal given sys.maxint has been removed in python3), the issue has already been reported (https://github.com/mitsuhiko/werkzeug/issues/447) and is fixed in the dev version