From: Jeff W. <js...@fa...> - 2009-07-08 05:21:00
|
Mauro Cavalcanti wrote: > Dear Jeff, > > Thanks for your fast reply. No problem with manually installing the > Basemap data files -- indeed, this is just what I do intend in order > to create a frozen application. But other than setting up the > BASEMAPDATA environment variable, is there any way to tell an > application to look for the data in a specific directory? > > No. -Jeff > Best regards, > > 2009/7/7 Jeff Whitaker <js...@fa...>: > >> Mauro Cavalcanti wrote: >> >>> Dear Jeff & ALL, >>> >>> In trying to freeze my app using bb-freeze >>> (http://pypi.python.org/pypi/bbfreeze/), I stumbled upon a problem: >>> the app is correctly freezed, but it then looks for the Basemap >>> datafiles and since cannot find them, fails to start (with a message >>> complaining that the above mentioned files are missing). So, my >>> question is: can Basemap data files be installed in a directory other >>> than the default one? And if so, how to instruct a program to look for >>> them in another location? >>> >>> Thanks in advance for any assistance you can provide. >>> >>> Best regards, >>> >>> >>> >> Mauro: If you set the env var BASEMAPDATA, it will look for the basemap >> data files there. There is no way supported way to install the files in a >> different directory using setup.py, so if you want them somewhere other than >> the default location you'll have to install them there manually. >> >> -Jeff >> >> -- >> Jeffrey S. Whitaker Phone : (303)497-6313 >> Meteorologist FAX : (303)497-6449 >> NOAA/OAR/PSD R/PSD1 Email : Jef...@no... >> 325 Broadway Office : Skaggs Research Cntr 1D-113 >> Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg >> >> >> > > > > |