4 ms·
My favorite Python library is pandas. If I only include this with pyinstaller I already get a >500MB executable. IMHO unacceptably large, but that's because Py
by carlmr 8y ago
My favorite Python library is pandas. If I only include this with pyinstaller I already get a >500MB executable.
IMHO unacceptably large, but that's because Python doesn't know which parts of pandas it might need to execute the program.
- deleted 8y ago[deleted]
- icebraining 8y agoCode pruning is a problem in Go too; as soon as your codebase or any of your dependencies use reflection, it gets disabled for the whole binary. A simpler alternative would be for Numpy and Pandas to provide its features as subpackages, like Airflow does: https://airflow.readthedocs.io/en/latest/installation.html https://airflow.readthedocs.io/en/latest/installation.html
- weberc2 8y agoI’m almost certain that only applies to individual compilation units and not the whole AST. In other words, if I use reflection in my main package, code pruning still works on dependencies, which is quite a lot better than the Python situation.