Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/build_config_script.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 05:40:21 2016
Кодировка:

Поисковые слова: http astrokuban.info astrokuban
Python: module build_config_script
 
 
build_config_script (version 11/25/03)
index
build_config_script.py

PURPOSE --
 
Gets all the environmental variables from a pickle containing
 configured file objects and writes them out to a .csh shell script.
 
python build_config_script.py  <Pickle File> <Out dir> 
 
DEVELOPER --
K. Clark
 
MODIFICATION HISTORY --
 
o Initial implementation 8/28/03 KWC
o Modified 11/25/03 KWC - Use new configure_util methods.

 
Modules
       
configure_util
os
spss_sys_util
string
sys

 
Classes
       
build_config_script

 
class build_config_script
     Methods defined here:
__init__(self, input_file, output_file='config_logicals')
Create a new .csh shell configure script.
find_file(self, file_name)
Looks for a pickle file. Handles full file specification as
well as just the file name without an extension.

 
Functions
       
run(pickle_file=None, output_file='config_logicals', *args)
Gets all the environmental variables from a pickle containing
     configured file objects and writes them out to a .csh shell script. 
 
 
Usage:
do build_config_script <Pickle File> <Output File> 
 
   where:
           Pickle File   = Name name of pickle file.
           Output File   = Name of .csh shell script. 
                            (default = config_logicals)
 
           Searches the current directory and then PASS_INPUT_PICKLES
           for the pickle file. Will append .pickle to the file name
           if this extension is not given.

 
Data
        __version__ = '11/25/03'