Set IPYTHON_OPTS env var after setting up ipython