How to include external modules / packages in python / .egg package?

Is there a way to include external modules and python packages in a .egg file in the same way we create .jar files with built-in java built-in libraries?

In particular, I use langdetect and nltk in my code. Is it possible to package the code with these built-in modules so that I can run the generated .egg file directly on another machine without the need to install these modules on a new machine?

+5
source share

Source: https://habr.com/ru/post/1234200/


All Articles