##############################################################
#                                                            #
#          INSTALL of the cpyth program (version 3.0.1)      #
#                                                            #
##############################################################
# Please send your bug report to Alexandre Sherstnev         #
# (alexandre.cherstnev@cern.ch).                             #
##############################################################

                       WARNING!!!
              THIS IS JUST A TEST VERSION!!!

In this document we suppose that your OS is Linux. So, if you have
another OS on your computer, please adopt the procedure as you need.

Below, we use the following notations:

      xxx - cpyth version number;
      cpyth-xxx - directory where cpyth files will live;
      cpyth-xxx.tgz - distributive tar-file;

Intallation procedure is the following:

1) Untar distrubutive:

      tar xzvf cpyth-xxx.tgz

   The directory cpyth-xxx appears automatically and all files 
   will be put there.

2) If necessary correct configure to setup proper compilers names
   and compiler's options (CC, CFLAGS, F77, and F77FLAGS variables) 
   and PYTHIA version (PYTHIA_VERSION variable). 
   Default PYTHIA version is 6408. Change the version if you need
   another version and put the version code to the directory pythia
   (remove routine UPINIT and UPEVNT in the code).
   Warning! The code has been tested with gcc 2.* and 3.* only.

3) If necessary correct Makefile to setup the following variable:

   WDIR   This variable defines the full path to a directory 
          where scripts and executables of the spyth package 
          will be installed.
          The default value is cpyth-xxx/../cpyth_xxx_test.

   NOTE:
   If you have no right to correct Makefile, you can pass
   the necessary parameter directly as an option of make. 
   For example: 
        make setup WDIR=full_path_to_user_directory

4) Prepare compilation.

      ./configure


5) Compile.

      make

6) Install to user directory (see (3)):

      make setup
   or 
      make setup WDIR=full_path_to_user_directory

      
   After installation the directory pointed by WDIR will be created 
   and all files necessary to treat events files will be installed to 
   the directory.

######################################################################
######################################################################
Some additional services are provided.

   - Clean up cpyth :
        make clean
        make distclean (pythia****.o will be removed also)
        
   - make tar-gzip archive of cpyth:
        make dist
   NOTE:
       Archive will be in directory cpyth-xxx/../. and have name
       cpyth-xxx.tgz
