Message146306
> 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. |
|
Date |
User |
Action |
Args |
2011-10-24 16:26:08 | eric.araujo | set | recipients:
+ eric.araujo, mhammond, fdrake, vinay.sajip, ceder, tim.golden, tarek, alexis, higery, guyrozendorn |
2011-10-24 16:26:08 | eric.araujo | set | messageid: <1319473568.47.0.365762176827.issue12394@psf.upfronthosting.co.za> |
2011-10-24 16:26:07 | eric.araujo | link | issue12394 messages |
2011-10-24 16:26:07 | eric.araujo | create | |
|