Hacker News new | ask | show | jobs
by pierrebai 794 days ago
I find the use case where you have a system in production but could not possibly use the official Python for that system... unusual?

Double so since Python code (.py) is itself portable, and I would assume that the amount of work to make all the necessary extension be built into your APE vs just using the standard pip/pipenv/poetry/etc to be in favor of the latter.

Not even talking about the maintainability of the resulting system by other people who'd have to learn how to handle building an APE.

2 comments

The use case was a client creating electrification plans based on structures from satellite data. We were able to get rid of gdal/pandas/networkx and several other dependencies and ended up with a fast python based process that could be given to clients for them to reproduce on their own machines (windows workstations).

In my use case, the niche is not having WSL/Docker available and letting end users repeat studies or re-run configuration scripts.

Python isn't built into Windows 10 by default and its easier for users to just run myape.exe than installing Python for Windows, pip install dependencies, etc.