CC-2016: Rearrange python scripts for reusability

-Added api_client to PYTHONPATH env variable
This commit is contained in:
martin 2011-03-24 00:35:01 -04:00
parent 5c8719d90c
commit 079878e5f0
4 changed files with 9 additions and 4 deletions

View file

@ -53,7 +53,7 @@ echo "* Python eggs Setup".PHP_EOL;
AirtimeInstall::SetUpPythonEggs();
echo PHP_EOL."*** Pypo Installation ***".PHP_EOL;
system("python ".__DIR__."/../pypo/install/pypo-install.py");
system("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py");
echo PHP_EOL."*** Recorder Installation ***".PHP_EOL;
system("python ".__DIR__."/../python_apps/show-recorder/install/recorder-install.py");

View file

@ -79,7 +79,7 @@ class AirtimeInstall {
{
$api_key = AirtimeInstall::GenerateRandomString();
AirtimeInstall::UpdateIniValue(__DIR__.'/../build/airtime.conf', 'api_key', $api_key);
AirtimeInstall::UpdateIniValue(__DIR__.'/../pypo/config.cfg', 'api_key', "'$api_key'");
AirtimeInstall::UpdateIniValue(__DIR__.'/../python_apps/pypo/config.cfg', 'api_key', "'$api_key'");
}
public static function ExitIfNotRoot()