![](https://secure.gravatar.com/avatar/276928028a2075ceeb0b7aface8e2e2a.jpg?s=120&d=mm&r=g)
Eric Smith wrote:
Paul Moore wrote:
2009/5/7 Tres Seaver <tseaver@palladion.com>:
Yes. It creates a .exe wrapper [1]. By using entry points, I don't need to care what the target system is. Also, /usr/bin/env might invoke the wrong python. Exactly: using entry points for console scripts guarantees that the
Eric Smith wrote: python into which the corresponding distribution is installed is the one used to run the script, which is *highly* desirable. Otherwise, you end up with the "just install everything in the system Python's site-packages" mess.
... and somewhere around here we end up with what I described as an over-engineered solution.
Or, what I call a minimal set of required functionality.
+1. <flame>Anyone who's arguing against this is either not deploying stuff in a repeatable fashion, and so isn't serious in my books, or is so serious that they're cutting vm images to roll out and so dump everything for the app in site packages</flame> Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk