Changes between Version 5 and Version 6 of Orio


Ignore:
Timestamp:
06/11/08 02:41:40 (15 years ago)
Author:
hartono
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Orio

    v5 v6  
    1515For users who want to quickly install Orio to the standard locations of third-party Python modules (requiring superuser privileges in a Unix system), the installation is simple as shown below. 
    1616 
    17  1. tar -xvzf orio.tar.gz 
    18  1. cd orio 
    19  1. python setup.py install 
     17{{{ 
     18% tar -xvzf orio.tar.gz 
     19% cd orio 
     20% python setup.py install 
     21}}} 
    2022 
    21 On a Unix platform, the above `install` command puts an `orcc` script in the `/usr/bin` location, and also creates an `orio` module directory in the `/usr/lib/python2.X/site-packages` location. 
     23On a Unix platform, the above `install` command will put an `orcc` script in the `/usr/bin` location, and also create an `orio` module directory in the `/usr/lib/python2.X/site-packages` location. 
    2224 
    23 In order to install Orio to an alternate location, users need to supply a base directory for the installation. For instance, the following `install` command  
     25In order to install Orio to an alternate location, users need to supply a base directory for the installation. For instance, the following command will install an `orcc` script under `/home/username/bin`, and also put an `orio` module under `/home/username/lib/python/site-packages`. 
    2426 
    25  1. tar -xvzf orio.tar.gz 
    26  1. cd orio 
    27  1. python setup.py install --prefix=/home/username 
     27{{{ 
     28% tar -xvzf orio.tar.gz 
     29% cd orio 
     30% python setup.py install --prefix=/home/username 
     31}}} 
     32 
     33It is also important to ensure that the installed Orio module location is included in the PYTHONPATH environment variable. Similarly, users can optionally include the installed `orcc` script location in the PATH shell variable. To do this for the above example, the following two lines can be added in the `.bashrc` configuration file (assuming the user uses Bash shell of course). 
     34 
     35{{{ 
     36export PYTHONPATH=$PYTHONPATH:/home/username/lib/python/site-packages 
     37export PATH=$PATH:/home/username/bin 
     38}}} 
    2839 
    2940To test whether Orio has been properly installed in your system, try to execute `orcc` command as given below as an example.