Éric Araujo <mer...@netwok.org> added the comment: > FYI: In pythonv, the build_scripts functionality provides identical support > for dotted > callables to what Éric proposed, while preserving existing functionality for > ordinary script > files.
My current preference is to use only new-style generated scripts for the scripts field in the files section, and to let people use the data-files/resources system for old-style file scripts. We’ll have to think about the shebang munging and decide if we keep it. I think recommending that people use “/usr/bin/env python” (or python3) and not doing anything to the shebang may be the best thing. > While working on this, I came up against a problem with build_scripts in > virtual environments: This is also a bug in current distutils and distutils2 scripts. Scripts should always be regenerated, as they depend on the running Python, not on other files. ---------- versions: +3rd party _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com