William Cheng 085e1e58e5
Fix/remove support python2 option in flask aiohttp generators (#13585)
* fix: remove option supportPython2.
[python-flask][python-aiohttp][python-blueplanet]

* fix: update samples

* test only python servers

* fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]

* Revert "fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]"

This reverts commit 9f47db2f87d1faea6863f4fa5f7c97ddba985879.

* test in circlei

* run commands directly

* test in node 1

* update makefile

* fix Makefile

* fix test

* revert some changes, remove python server tests from travis

Co-authored-by: Kevin Bannier <kevinbannier1@gmail.com>
2022-10-04 15:24:26 +08:00

22 lines
354 B
Makefile

#!/bin/bash
REQUIREMENTS_OUT=requirements.txt.log
VENV=.venv
clean:
rm -rf $(REQUIREMENTS_OUT)
rm -rf $(VENV)
rm -rf .pytest_cache
rm -rf .coverage
find . -name "*.py[oc]" -delete
find . -name "__pycache__" -delete
venv:
python3 -m venv $(VENV)
test: clean venv
bash ./test_python3.sh
test-all: clean venv
bash ./test_python3.sh