diff --git a/pokecli.py b/pokecli.py index 5efd00ab23..4d8eef1737 100644 --- a/pokecli.py +++ b/pokecli.py @@ -66,7 +66,7 @@ try: import pkg_resources pgoapi_version = pkg_resources.get_distribution("pgoapi").version - if pgoapi_version != '1.2.1': + if pgoapi_version != '2.13.0': print "Run following command to get latest update: `pip install -r requirements.txt --upgrade`" sys.exit(1) except pkg_resources.DistributionNotFound: diff --git a/run.sh b/run.sh index 8eefcb9700..3907d5a9b2 100755 --- a/run.sh +++ b/run.sh @@ -22,7 +22,7 @@ then fi git fetch -a installed=(`pip list 2>/dev/null |sed -e 's/ //g' -e 's/(/:/' -e 's/)//' -e 's/[-_]//g' | awk '{print tolower($0)}'`) -required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==1.2.1/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) +required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==2.13.0/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) for package in ${required[@]} do if [[ ! (${installed[*]} =~ $package) ]]; diff --git a/runMultiBot.sh b/runMultiBot.sh index cc38a33cc5..847c5a7f89 100755 --- a/runMultiBot.sh +++ b/runMultiBot.sh @@ -10,7 +10,7 @@ then fi git fetch -a installed=(`pip list 2>/dev/null |sed -e 's/ //g' -e 's/(/:/' -e 's/)//' -e 's/[-_]//g' | awk '{print tolower($0)}'`) -required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==1.2.1/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) +required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==2.13.0/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) for package in ${required[@]} do if [[ ! (${installed[*]} =~ $package) ]];