[pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread Thomas Ibbotson
I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh 
install of Python2.6. Pygame is not installed correctly, and creates 
C:\Lib and C:\Include directories. I can manually move these into my 
Python26 folder to fix this. I don't have an APPDATA environment 
variable set, perhaps this is being assumed to exist and as it is not 
set it is being installed in C:\?


Tom


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread René Dudfield
On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:
 I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh install of
 Python2.6. Pygame is not installed correctly, and creates C:\Lib and
 C:\Include directories. I can manually move these into my Python26 folder to
 fix this. I don't have an APPDATA environment variable set, perhaps this is
 being assumed to exist and as it is not set it is being installed in C:\?

 Tom


hi,

which version of windows are you using?

Also, which user did you install it under?


cheers,


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread Thomas Ibbotson

René Dudfield wrote:

On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:
  

I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh install of
Python2.6. Pygame is not installed correctly, and creates C:\Lib and
C:\Include directories. I can manually move these into my Python26 folder to
fix this. I don't have an APPDATA environment variable set, perhaps this is
being assumed to exist and as it is not set it is being installed in C:\?

Tom




hi,

which version of windows are you using?

Also, which user did you install it under?


cheers,
  
I'm using Windows XP Professional SP3. I tried to install it both under 
'All Users' and 'Just for me', neither worked. The user account I was 
using was not an administrator account on the system.


It also turns out the APPDATA environment variable is set, I just can't 
see it in the Control Panel-System-Advanced-Environment variables 
list, but it is in the os.environ dictionary in python.


Tom


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread Thomas Ibbotson

Thomas Ibbotson wrote:

René Dudfield wrote:

On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:
 
I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh 
install of

Python2.6. Pygame is not installed correctly, and creates C:\Lib and
C:\Include directories. I can manually move these into my Python26 
folder to
fix this. I don't have an APPDATA environment variable set, perhaps 
this is
being assumed to exist and as it is not set it is being installed in 
C:\?


Tom




hi,

which version of windows are you using?

Also, which user did you install it under?


cheers,
  
I'm using Windows XP Professional SP3. I tried to install it both 
under 'All Users' and 'Just for me', neither worked. The user account 
I was using was not an administrator account on the system.


It also turns out the APPDATA environment variable is set, I just 
can't see it in the Control Panel-System-Advanced-Environment 
variables list, but it is in the os.environ dictionary in python.


Tom
Update: I just managed to run the installer as an administrator and the 
installation worked correctly. I thought that .msi installers got round 
the issue of having to be an administrator to install things?


Tom


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread René Dudfield
On Tue, Nov 10, 2009 at 4:48 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:
 Thomas Ibbotson wrote:

 René Dudfield wrote:

 On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson
 thomas.ibbot...@gmail.com wrote:


 I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh
 install of
 Python2.6. Pygame is not installed correctly, and creates C:\Lib and
 C:\Include directories. I can manually move these into my Python26
 folder to
 fix this. I don't have an APPDATA environment variable set, perhaps this
 is
 being assumed to exist and as it is not set it is being installed in
 C:\?

 Tom



 hi,

 which version of windows are you using?

 Also, which user did you install it under?


 cheers,


 I'm using Windows XP Professional SP3. I tried to install it both under
 'All Users' and 'Just for me', neither worked. The user account I was using
 was not an administrator account on the system.

 It also turns out the APPDATA environment variable is set, I just can't
 see it in the Control Panel-System-Advanced-Environment variables list,
 but it is in the os.environ dictionary in python.

 Tom

 Update: I just managed to run the installer as an administrator and the
 installation worked correctly. I thought that .msi installers got round the
 issue of having to be an administrator to install things?

 Tom


yeah, it's usually all worked out for me in the past.  This is the
first I've heard of this problem...  we pretty much use the default
msi installer builder from python with a couple of extensions... so it
should be working ok.

Do you remember which user you installed python under?

I can't find an msi related bug at bugs.python.org (only looked very quickly).

Do you have PYTHONPATH set?  Maybe it is set to  or C:\ ?

cheers,


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread René Dudfield
one more question... are you on 32bit windows?

On Tue, Nov 10, 2009 at 7:02 PM, René Dudfield ren...@gmail.com wrote:
 hi again,

 Thanks for your testing.

 I guess it'll be somewhere in the python msilib, or bdist_msi source...
    
 http://svn.python.org/projects/python/trunk/Lib/distutils/command/bdist_msi.py
    http://svn.python.org/projects/python/trunk/Lib/msilib/


 I haven't got time to look into it now.

 cheers,



Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread René Dudfield
I guess another question would be, if it works for other packages?

eg, does the numpy msi work for you ok?


cheers,

On Tue, Nov 10, 2009 at 7:03 PM, René Dudfield ren...@gmail.com wrote:
 one more question... are you on 32bit windows?

 On Tue, Nov 10, 2009 at 7:02 PM, René Dudfield ren...@gmail.com wrote:
 hi again,

 Thanks for your testing.

 I guess it'll be somewhere in the python msilib, or bdist_msi source...
    
 http://svn.python.org/projects/python/trunk/Lib/distutils/command/bdist_msi.py
    http://svn.python.org/projects/python/trunk/Lib/msilib/


 I haven't got time to look into it now.

 cheers,




Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread René Dudfield
hi again,

Thanks for your testing.

I guess it'll be somewhere in the python msilib, or bdist_msi source...

http://svn.python.org/projects/python/trunk/Lib/distutils/command/bdist_msi.py
http://svn.python.org/projects/python/trunk/Lib/msilib/


I haven't got time to look into it now.

cheers,


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread Thomas Ibbotson

René Dudfield wrote:

On Tue, Nov 10, 2009 at 4:48 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:
  

Thomas Ibbotson wrote:


René Dudfield wrote:
  

On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson
thomas.ibbot...@gmail.com wrote:



I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh
install of
Python2.6. Pygame is not installed correctly, and creates C:\Lib and
C:\Include directories. I can manually move these into my Python26
folder to
fix this. I don't have an APPDATA environment variable set, perhaps this
is
being assumed to exist and as it is not set it is being installed in
C:\?

Tom


  

hi,

which version of windows are you using?

Also, which user did you install it under?


cheers,



I'm using Windows XP Professional SP3. I tried to install it both under
'All Users' and 'Just for me', neither worked. The user account I was using
was not an administrator account on the system.

It also turns out the APPDATA environment variable is set, I just can't
see it in the Control Panel-System-Advanced-Environment variables list,
but it is in the os.environ dictionary in python.

Tom
  

Update: I just managed to run the installer as an administrator and the
installation worked correctly. I thought that .msi installers got round the
issue of having to be an administrator to install things?

Tom




yeah, it's usually all worked out for me in the past.  This is the
first I've heard of this problem...  we pretty much use the default
msi installer builder from python with a couple of extensions... so it
should be working ok.

Do you remember which user you installed python under?

I can't find an msi related bug at bugs.python.org (only looked very quickly).

Do you have PYTHONPATH set?  Maybe it is set to  or C:\ ?

cheers,
  
Ok, I've reinstalled python, both using the administrator account and 
the unpriveleged user account. In both cases pygame doesn't install 
correctly as an unpriveleged user, but does using the administrator account.


I don't have PYTHONPATH set.

Tom


Re: [pygame] BUG: Windows - Pygame 1.9.1 with Python 2.6.4 doesn't install correctly

2009-11-10 Thread Thomas Ibbotson

René Dudfield wrote:

one more question... are you on 32bit windows?


Yes it is 32-bit windows.


I guess another question would be, if it works for other packages?

eg, does the numpy msi work for you ok?



There only appears to be an amd64 numpy msi. I've had a look for other 
python packages that use msi's but haven't found any yet (I looked at 
wxpython, pyOpenGL, PIL and then gave up). FWIW the PIL installer works 
fine as an unpriveleged user.


Tom