billiard
billiard copied to clipboard
Pyinstaller packaging error.
I am using billiard-3.3.0.18-py2.7-linux-x86_64.egg along with celery.
I tried to package the celery module using pyinstaller, causing the error, AttributeError: module object does not have the attribute 'reduce socket'.
I checked that the connection.py and reduction.py were changing the sys.modules to a different module. Going through the pyinstaller source, I was not able to pinpoint as to why the error was happening.
So I went ahead with a simple fix as here https://github.com/jambu/billiard/commit/c8b071c3ccd0398f74d79249998421dc2c4f0fab
and here https://github.com/jambu/billiard/commit/01885f92a8f8047bd7d1dbca6b3fb2cf413516d9
Will be happy to provide more details.