Re: Proposed Modules, My Take
- From: James Henstridge <james jamesh id au>
- To: Murray Cumming <murrayc murrayc com>
- Cc: Mark McLoughlin <markmc redhat com>,	Sean Middleditch <elanthis awesomeplay com>,	"desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: Proposed Modules, My Take
- Date: Thu, 20 Jan 2005 12:14:24 +0800
Murray Cumming wrote:
On Wed, 2005-01-19 at 21:14 +0000, Mark McLoughlin wrote:
 
	You want me to put 
 #!/usr/bin/python2.3
	in my scripts rather than
 #!/usr/bin/env python
   
No, I think you are meant to do
#!/usr/bin/env python2.3
though I'm not quite sure what that does.
 
About the only time you'd use a versioned python executable name is if 
your program actually depends on that version of Python.
This might be the case if your application includes a C extension, and 
you want to make sure you invoke the version of Python that the 
extension was compiled against (ie. you'd write out the #! line at 
install time to match how the app was built).
If you don't have a dependency like this, using a versioned executable 
name will just cause unnecessary incompatibilities.
James.
- References:
- Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
- Re: Proposed Modules, My Take
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]