[GRASS-dev] Re: bundling wxpython - solves 6.4 digitizer problem

Michael Barton Michael.Barton at asu.edu
Mon Sep 21 17:14:03 EDT 2009


Inside site_packages, the only think I've got is:

-a folder named wx-2.8-mac-unicode that has all the wxpython stuff in  
it,
-a file called wxpython-2.8.10.1-py2.5.egg-info, and
-a file called wxversion.py

Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 	480-965-6262; fax: 480-965-7671
www: 	http://csdc.asu.edu, http://shesc.asu.edu
		http://www.public.asu.edu/~cmbarton

On Sep 21, 2009, at 2:00 PM, William Kyngesburye wrote:

> What about wxredirect.pth?
>
> On Sep 21, 2009, at 3:23 PM, Michael Barton wrote:
>
>> I've only got wxversion.py, no wx.pth
>>
>> Michael
>> ______________________________
>> C. Michael Barton
>> Director, Center for Social Dynamics & Complexity
>> Professor of Anthropology, School of Human Evolution & Social Change
>> Arizona State University
>> Tempe, AZ  85287-2402
>> USA
>>
>> voice: 	480-965-6262; fax: 480-965-7671
>> www: 	http://csdc.asu.edu, http://shesc.asu.edu
>> 		http://www.public.asu.edu/~cmbarton
>>
>> On Sep 21, 2009, at 1:06 PM, Glynn Clements wrote:
>>
>>>
>>> Michael Barton wrote:
>>>
>>>>> Also, make sure there is only one wx path file in your site-
>>>>> packages,
>>>>> that points to your only installed wx.
>>>>
>>>> How can I check this path?
>>>
>>> Look for a file along the lines of:
>>>
>>> 	.../python2.5/site-packages/wx.pth
>>>
>>> This will contain the (possibly relative) path of a directory to be
>>> added to the Python module path.
>>>
>>> E.g. I have:
>>>
>>> 	$ cat /usr/lib/python2.5/site-packages/wx.pth
>>> 	wx-2.8-gtk2-unicode
>>>
>>> This causes the directory
>>>
>>> 	/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode
>>>
>>> to be added to the module path, so "import wx" loads the file
>>>
>>> 	/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py
>>>
>>> However: I'm not sure whether wx.pth is actually relevant if
>>> wxversion
>>> is used, as it modifies sys.path itself.
>>>
>>> -- 
>>> Glynn Clements <glynn at gclements.plus.com>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Those people who most want to rule people are, ipso-facto, those
> least suited to do it."
>
> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
>
>



More information about the grass-dev mailing list