É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: -
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.
É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
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
___
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.
É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
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
É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
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +kbk, timcera
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue870479
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
This bug supersedes #1004696.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue870479
___
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
components: +Distutils2 -Distutils
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue870479
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue870479
___
___
Python-bugs-list mailing
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
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
___
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
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)
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
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
18 matches
Mail list logo