Ian Bicking wrote:
This is a proto-proposal for including some functionality from
virtualenv in Python itself. I'm not entirely confident about what
I'm proposing, so it's not really PEP-ready, but I wanted to get
feedback...
First, a bit about how virtualenv works (this will use Linux
On Sun, Feb 21, 2010 at 12:32 PM, Larry Hastings la...@hastings.org wrote:
* I'd rather ~/env/bin/python be a symlink instead of copying it.
The thread discussing Windows suggests that we shouldn't use symlinks
there. I'd say either copying or symlinking pythonv should be supported,
and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregory P. Smith wrote:
On Fri, Feb 19, 2010 at 4:18 PM, P.J. Eby p...@telecommunity.com wrote:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks, and
where things generally work
Ian Bicking wrote:
On Sun, Feb 21, 2010 at 12:32 PM, Larry Hastings la...@hastings.org
mailto:la...@hastings.org wrote:
* Override sys.prefix: allow you to put the binary in someplace other
than, say, ~/env/bin/python and still support an environment in
~/env/. Also the use case of looking
On Feb 21, 2010, at 01:51 PM, Tres Seaver wrote:
+1 for having the conf file in the same directory as the pythonv
esecutable (yes, I know it isn't FHS compatible, but virtualevn is kind
of antithetical to the spirit of FHS anyway).
Which is okay, right? because virtualenv is really about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry Warsaw wrote:
On Feb 21, 2010, at 01:51 PM, Tres Seaver wrote:
+1 for having the conf file in the same directory as the pythonv
esecutable (yes, I know it isn't FHS compatible, but virtualevn is kind
of antithetical to the spirit of FHS
Larry Hastings:
But IIUC telling the compiler how to
do that is only vaguely standardized--Microsoft's CL.EXE doesn't seem to
support any environment variable containing an include /path/.
The INCLUDE environment variable is a list of ';' separated paths
Glenn Linderman wrote:
Shortcuts don't work from the shell (well, cmd.exe, at least), do
they? Can't test from here.
So if you can't test it, why would you state it as a fact... and then
back-pedal? :)
It was a question, not a statement! Plus, I figured I could con someone
into testing it
Glenn Linderman wrote:
Windows also has hard-links for files.
A lot of Windows tools are completely ignorant of both of those linking
concepts... resulting in disks that look to be over capacity when they
are not, for example.
Here comes my nit picking mode again. ;)
First of all the
Christian Heimes wrote:
good stuff deleted
As long as Python supports XP we shouldn't use symlinks on Windows for
stuff like virtualenv. The python.exe on Windows is small (just a few
kb) since it is linked against the dll. Let's copy it and we are on the
safe side.
+1. Even if we dropped XP
First of all the links are not a feature of the operating system but
rather a feature of the file system (version).
That's not really true. Even though ext2 supports symbolic links, on XP
with an ext2 driver, you still don't get symbolic links.
So you need the feature *both* in the operating
Martin v. Löwis wrote:
The latter is not really true: NFS most certainly supports hard links.
I can't try right now, but I would be surprised if SMB didn't support
both symbolic and hard links, given the right server and client versions.
I've never seen nor used NFS on Windows so I can't
Am 20.02.2010 06:37, schrieb Michael Foord:
--
http://www.ironpythoninaction.com
Nice signature!
On 19 Feb 2010, at 22:52, Eric Smith e...@trueblade.com wrote:
Glenn Linderman wrote:
On approximately 2/19/2010 1:18 PM, came the following characters
from the keyboard of P.J. Eby:
On Fri, Feb 19, 2010 at 10:39 PM, Glenn Linderman
v+pyt...@g.nevcal.comv%2bpyt...@g.nevcal.com
wrote:
On approximately 2/19/2010 1:18 PM, came the following characters from the
keyboard of P.J. Eby:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on
At 02:41 PM 2/20/2010 -0500, Ian Bicking wrote:
Virtualenv uses copies when it can't use symlinks. Â A copy (or hard
link) seems appropriate on systems that do not have symlinks. Â It
would seem reasonable that on Windows it might look in the registry
to find the actual location where Python
Dj Gilcrease wrote:
win2k and later have a form of sym link, the api for it is just not
provided in a nice simple app like it is on nix platforms.
Yes, it's possible to create symlinks on win2k using a
command line tool called 'linkd' (I've done it).
However, they're extremely dangerous,
This is a proto-proposal for including some functionality from virtualenv in
Python itself. I'm not entirely confident about what I'm proposing, so it's
not really PEP-ready, but I wanted to get feedback...
First, a bit about how virtualenv works (this will use Linux conventions;
Windows and
This sounds like a great idea (especially since I proposed something a
little bit like it in yesterday's language summit :-).
I have to admit I cannot remember what uses are made of sys.prefix; it
would be good to explicitly enumerate these in the PEP when you write
it.
Regarding the Windows
Le Fri, 19 Feb 2010 13:49:23 -0500, Ian Bicking a écrit :
* I'd rather ~/env/bin/python be a symlink instead of copying it.
How about simply adding a --prefix argument to the interpreter. Then
virtualenv can create a python script that simply adds --prefix and
forwards all the arguments to
On Feb 19, 2010, at 11:45 AM, Antoine Pitrou wrote:
Le Fri, 19 Feb 2010 13:49:23 -0500, Ian Bicking a écrit :
* I'd rather ~/env/bin/python be a symlink instead of copying it.
How about simply adding a --prefix argument to the interpreter. Then
virtualenv can create a python script that
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks,
and where things generally work differently), but I would hope if
this idea is more visible that someone more opinionated than I would
propose the appropriate analog on Windows.
On Fri, Feb 19, 2010 at 4:18 PM, P.J. Eby p...@telecommunity.com wrote:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks, and
where things generally work differently), but I would hope if this idea is
more visible that someone
win2k and later have a form of sym link, the api for it is just not
provided in a nice simple app like it is on nix platforms.
On 2/19/10, P.J. Eby p...@telecommunity.com wrote:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks,
I develop OpenRPG and 90% of our user base is on windows. We require
the user to install python and wxPython from msi because our app
supports GUI plugins so to ensure the user can use any plugin even if
it isnt prepackaged they need to have the full python and wxPython
installed.
We are working
On Fri, 19 Feb 2010 14:35:42 -0700, Dj Gilcrease digitalx...@gmail.com wrote:
On 2/19/10, P.J. Eby p...@telecommunity.com wrote:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks,
and where things generally work differently),
On 19/02/2010 16:30, Gregory P. Smith wrote:
On Fri, Feb 19, 2010 at 4:18 PM, P.J. Ebyp...@telecommunity.com wrote:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks, and
where things generally work differently), but
On approximately 2/19/2010 1:18 PM, came the following characters from
the keyboard of P.J. Eby:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks,
and where things generally work differently), but I would hope if
this idea is
Glenn Linderman wrote:
On approximately 2/19/2010 1:18 PM, came the following characters from
the keyboard of P.J. Eby:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this should best work on Windows (without symlinks,
and where things generally work differently), but I would
On approximately 2/19/2010 7:52 PM, came the following characters from
the keyboard of Eric Smith:
Glenn Linderman wrote:
On approximately 2/19/2010 1:18 PM, came the following characters
from the keyboard of P.J. Eby:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how this
--
http://www.ironpythoninaction.com
On 19 Feb 2010, at 22:52, Eric Smith e...@trueblade.com wrote:
Glenn Linderman wrote:
On approximately 2/19/2010 1:18 PM, came the following characters
from the keyboard of P.J. Eby:
At 01:49 PM 2/19/2010 -0500, Ian Bicking wrote:
I'm not sure how
30 matches
Mail list logo