@@ -0,0 +1,1379 @@
+%0Aimport os %0Aimport sys %0A%0A%0A%0A# ========%0A# subroutines %0A# ======== %0Adef checkGelpiaInstallation (): %0A    return False%0A%0A%0A%0Adef checkFPTaylorInstallation (branch): %0A    return False %0A%0A%0A%0Adef DownloadGelpia (): %0A    assert(not os.path.isdir(%22gelpia%22)) %0A    os.system(%22git clone https://github.com/soarlab/gelpia.git%22)%0A    assert(os.path.isdir(%22gelpia%22)) %0A%0A    os.chdir(%22gelpia%22) %0A    os.system(%22make requirements%22) %0A    os.system(%22make%22) %0A    assert(os.path.isfile(%22./bin/gelpia%22)) %0A    os.chdir(%22../%22) %0A%0A%0A%0Adef DownloadFPTaylor (branch): %0A    d = %22FPTaylor-%22 + branch %0A%0A    assert(not os.path.isdir(d)) %0A    os.system(%22git clone -b %22 + branch + %22 https://github.com/soarlab/FPTaylor.git %22 + d) %0A    assert(os.path.isdir(d))  %0A%0A    os.chdir(d)%0A    os.system(%22make%22) %0A    assert(os.path.isfile(%22fptaylor%22)) %0A    os.chdir(%22../%22) %0A    %0A%0A%0Adef InstallGelpia (): %0A    if (not checkGelpiaInstallation()): %0A        DownloadGelpia() %0A%0A        # set environment variables %0A%0A    assert(checkGelpiaInstallation()) %0A%0A%0A%0Adef InstallFPTaylor (branch): %0A    assert(type(branch) is str) %0A%0A    if (not checkFPTaylorInstallation(branch)):%0A        DownloadFPTaylor(branch) %0A%0A        # set environment variables %0A%0A    assert(checkFPTaylorInstallation(branch)) %0A%0A%0A%0A# ========%0A# main %0A# ========%0A# ---- %0A# install the required tools%0A# ----%0AInstallGelpia() %0AInstallFPTaylor(%22master%22)%0AInstallFPTaylor(%22fptuner%22) %0A%0A

add setup.py