Project

General

Profile

Install Appion Packages Short Shared » History » Version 2

Amber Herold, 10/29/2010 07:39 PM

1 1 Amber Herold
h3. Install all the myami python packages _except appion_ using the following script:
2
3
<pre>
4
cd /your_download_area/myami
5
sudo ./pysetup.sh install
6
</pre>
7
8
That will install each package, and report any failures.  To determine the cause of failure, see the generated log file "pysetup.log".  If necessary, you can enter a specific package directory and run the python setup command manually.  For example, if sinedon failed to install, you can try again like this: 
9
10
<pre>
11
cd /your_download_area/myami/sinedon
12
sudo python setup.py install
13
</pre>
14
15
h3. Install the Appion python package
16
17 2 Amber Herold
*Important:* You need to install the current version of Appion packages to the *same location* that you installed the previous version of Appion packages.  You may have used a flag shown below _--install-scripts=/usr/local/bin_ in your original installation. If you did, you need to use it this time as well. You can check if you installed your packages there by browsing to /usr/local/bin and looking for ApDogPicker.py. If the file is there, you should use the flag. if the file is not there, you should remove the flag from the command to install Appion to the default location. 
18 1 Amber Herold
19
The pysetup.py script above did not install the appion package.  Since the appion package includes many executable scripts, it is important that you know where they are being installed.  To prevent cluttering up the /usr/bin directory, you can specify an alternative path, typically /usr/local/bin, or a directory of your choice that you will later add to your PATH environment variable.  Install appion like this:
20
<pre>
21
cd /your_download_area/myami/appion
22
sudo python setup.py install --install-scripts=/usr/local/bin
23
</pre>