[issue870479] Scripts need platform-dependent handling

2011-06-24 Thread Éric Araujo
Éric Araujo 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: -> duplicate stage:

[issue870479] Scripts need platform-dependent handling

2010-09-30 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. 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 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 that? Re: gener

[issue870479] Scripts need platform-dependent handling

2010-08-02 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +Make installed scripts executable on windows ___ Python tracker ___ ___ Python-bugs-list m

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Paul Moore
Paul Moore 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 such, should foll

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Éric Araujo
Éric Araujo 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 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-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +kbk, timcera ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue870479] Scripts need platform-dependent handling

2010-07-31 Thread Éric Araujo
Éric Araujo 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 ___ __

[issue870479] Scripts need platform-dependent handling

2010-04-11 Thread Éric Araujo
Éric Araujo added the comment: This bug supersedes #1004696. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue870479] Scripts need platform-dependent handling

2010-04-09 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2 -Distutils ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue870479] Scripts need platform-dependent handling

2010-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé
Tarek Ziadé added the comment: > I assume it generates a shell script with no extension on Unix? Yes ___ Python tracker ___ ___ Python-bugs-

[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé
Tarek Ziadé added the comment: more discussion here : http://mail.python.org/pipermail/distutils-sig/2009-February/010980.html ___ Python tracker ___ ___

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Paul Moore
Paul Moore 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 that pure-python packag

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Tarek Ziadé
Tarek Ziadé 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) see http://peak.telecom

[issue870479] Scripts need platform-dependent handling

2009-02-14 Thread Daniel Diniz
Daniel Diniz 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

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