Changes between Version 5 and Version 6 of Orio
- Timestamp:
- 06/11/08 02:41:40 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Orio
v5 v6 15 15 For 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. 16 16 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 }}} 20 22 21 On a Unix platform, the above `install` command puts an `orcc` script in the `/usr/bin` location, and also createsan `orio` module directory in the `/usr/lib/python2.X/site-packages` location.23 On 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. 22 24 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` command25 In 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`. 24 26 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 33 It 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 {{{ 36 export PYTHONPATH=$PYTHONPATH:/home/username/lib/python/site-packages 37 export PATH=$PATH:/home/username/bin 38 }}} 28 39 29 40 To test whether Orio has been properly installed in your system, try to execute `orcc` command as given below as an example.