[issue870479] Scripts need platform-dependent handling

2011-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: All right, we’re going to follow setuptools’ lead and generate platform-appropriate script or binary files from callables. See the superseder bug report to follow the work that will be done during this summer’s GSoC. -- resolution: -

[issue870479] Scripts need platform-dependent handling

2010-09-30 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: As noted in issue 976869, I'm very much in the camp of entry-point based generated scripts, which should clearly use the right line endings for the host platform. Hacking around with the file copy just doesn't make sense moving forward.

[issue870479] Scripts need platform-dependent handling

2010-09-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: it's possible that the #! line processing may rely on \n line endings It does. Python on POSIX can import modules with CLRF, but the shebang machinery can’t parse the first line to get the interpreter to run. Does anyone object about changing

[issue870479] Scripts need platform-dependent handling

2010-08-02 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +Make installed scripts executable on windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: I don't think that they do, any more than for any .py script. (I assume you're talking about in the .py script). Generated scripts on Unix can be whatever the code wants, and on Windows I thought the idea of generated scripts had been dropped.

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sorry, I was unclear. What I meant is: Do you (Tarek and platform experts) agree that scripts (in setup(scripts=...), not generated) need to have platform-specific EOLs? -- ___ Python tracker

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: Thanks for clarifying. No, I don't agree. Barring fancy if os.platform games in setup.py, scripts will be platform-independent Python code. From Distributing Python Modules section 2.5, Scripts are files containing Python source code, and as

[issue870479] Scripts need platform-dependent handling

2010-07-31 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: As a first step, do you agree that newlines have to be translated? -- versions: +Python 2.5, Python 2.6, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479

[issue870479] Scripts need platform-dependent handling

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +kbk, timcera ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___ ___ Python-bugs-list

[issue870479] Scripts need platform-dependent handling

2010-04-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This bug supersedes #1004696. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___ ___

[issue870479] Scripts need platform-dependent handling

2010-04-09 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- components: +Distutils2 -Distutils ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___ ___

[issue870479] Scripts need platform-dependent handling

2010-04-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___ ___ Python-bugs-list mailing

[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: more discussion here : http://mail.python.org/pipermail/distutils-sig/2009-February/010980.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479

[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I assume it generates a shell script with no extension on Unix? Yes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue870479 ___

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Has a decision been made on this? What's the current behavior on Windows? -- nosy: +ajaksu2, tarek stage: - test needed type: - feature request versions: +Python 2.7 -Python 2.3 ___ Python tracker

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: What do you think about the way setuptools handles it ? I'd be in favor of integrating setuptools wrapping mechanism in distutils. (not the entry point part, just the way it generates .exe under windows and executable script under Linux)

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: In principle I don't have a problem with the automatic generation of an EXE (I assume it generates a shell script with no extension on Unix?) but it should be done in such a way that the EXE is version-independent. This is necessary to ensure

[issue870479] Scripts need platform-dependent handling

2007-08-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Removing the assignment to me, since I'm not going to resolve the fundamental disagreements about what the right thing is. Someone else can argue with the wrong-headed. -- assignee: fdrake - Tracker [EMAIL