CC-2104: Use PIP to install python packages
-removed pip install/uninstall from install scripts. Added to wiki instead.
This commit is contained in:
parent
0ad7a0afcd
commit
d66bcea044
3 changed files with 0 additions and 16 deletions
|
@ -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");
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ require_once(dirname(__FILE__).'/installInit.php');
|
|||
AirtimeInstall::ExitIfNotRoot();
|
||||
|
||||
AirtimeInstall::RemoveSymlinks();
|
||||
AirtimeInstall::RemovePythonPackages();
|
||||
|
||||
echo "******************************* Uninstall Begin ********************************".PHP_EOL;
|
||||
//------------------------------------------------------------------------
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue