Hacker News new | past | comments | ask | show | jobs | submit login

> Out of morbid curiosity, what's the current answer for "how to pack up a Python program into a single executable/directory for Windows" now?

The Hitchhiker's Guide to Python[1] (HHGTP) encapsulates a lot of standard tools and best practices. I've been recommending it to students for a few years now. Last year it listed virtualenv, venv, pyenv, etc.; now it recommends just pipenv.

HHGTP also has sections on "Packaging Your Code" and "Freezing Your Code". I think what you're asking about is referred to there as "freezing". The "Freezing" section of HHGTP lists some Windows tools, and contains a table comparing them. There doesn't look to be a single accepted one.

A G^nP post did criticize Go compared to Python, but I don't believe the author speaks for “the Python community”.

[1] http://docs.python-guide.org/en/latest/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: