CC-2104: Use PIP to install python packages

-removed pip install/uninstall from install scripts. Added to wiki instead.
This commit is contained in:
martin 2011-03-29 14:09:06 -04:00
parent 0ad7a0afcd
commit d66bcea044
3 changed files with 0 additions and 16 deletions

View file

@ -52,9 +52,6 @@ AirtimeInstall::CreateSymlinks($CC_CONFIG["storageDir"]);
echo "* Importing Sample Audio Clips".PHP_EOL;
system(__DIR__."/../utils/airtime-import --copy ../audio_samples/ > /dev/null");
echo "* Python eggs Setup".PHP_EOL;
AirtimeInstall::SetUpPythonEggs();
echo PHP_EOL."*** Pypo Installation ***".PHP_EOL;
system("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py");

View file

@ -21,7 +21,6 @@ require_once(dirname(__FILE__).'/installInit.php');
AirtimeInstall::ExitIfNotRoot();
AirtimeInstall::RemoveSymlinks();
AirtimeInstall::RemovePythonPackages();
echo "******************************* Uninstall Begin ********************************".PHP_EOL;
//------------------------------------------------------------------------

View file

@ -191,18 +191,6 @@ class AirtimeInstall {
system($command);
}
public static function SetUpPythonEggs()
{
//install poster streaming upload
$command = "pip install poster";
@exec($command);
}
public static function RemovePythonPackages(){
$command = "pip uninstall poster";
@exec($command);
}
public static function DeleteFilesRecursive($p_path)
{
$command = "rm -rf $p_path";