Skip to content

Commit d1af182

Browse files
committed
Add instructions for use with existing proxies
See #113; closes #123, closes #130
1 parent fefb4e2 commit d1af182

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ To do this, install the script's requirements via `python -m pip install -r requ
157157
Please note that the proxy was designed as a GUI-based tool from the outset due to the inherently interactive nature of OAuth 2.0 authorisation, and there are limits to its ability to support fully no-GUI operation.
158158
See the [optional arguments and configuration](#optional-arguments-and-configuration) section of this file for further details.
159159

160+
If your network requires connections to use an existing proxy, you can instruct the script to use this by setting the [proxy handler](https://docs.python.org/3/library/urllib.request.html#urllib.request.ProxyHandler) environment variable `https_proxy` (and/or `http_proxy`) – for example, `https_proxy=localhost python emailproxy.py`.
161+
160162
After installing its requirements, the proxy can be packaged as a single self-contained executable using [pyinstaller](https://pyinstaller.org/) if desired: `pyinstaller --onefile emailproxy.py`.
161163
If you are using the GUI version of the proxy, you may need to add `--hidden-import timeago.locales.en` until [this timeago issue](https://github.com/hustcc/timeago/issues/40) is resolved.
162164

0 commit comments

Comments
 (0)