In optionsyou can add an attribute includesand thus add libraries. Example:
options = { "py2exe": {
"includes": ["LIBRARY HERE", ...]
}}
This includes external libraries that Py2exe has not yet found. If I remember correctly, Py2exe should try to find dependencies on it, and any of them will not, you can use the above method.
I am not sure about the library structure for Beautiful Soup since I have not used it, but an example could be:
"includes": ["matplotlib.backends.backend_tkagg"]
source
share