Remove py2 support

Change-Id: Ieeaeb3b8efcae004e94aea6c1d2703c9782a8650
Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21320
Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
Enrico Faulhaber
2019-09-25 17:45:26 +02:00
parent 04032079d7
commit 70a9c42a7a
59 changed files with 458 additions and 667 deletions

View File

@@ -11,7 +11,7 @@ demo:
@ps aux|grep [s]ecop-server|awk '{print $$2}'|xargs kill
build:
python setup.py build
python3 setup.py build
clean:
find . -name '*.pyc' -delete
@@ -19,20 +19,20 @@ clean:
$(MAKE) -C doc clean
install: build
python setup.py install
python3 setup.py install
test:
ifdef T
python $(shell which pytest) -v test -l -k $(T)
python3 $(shell which pytest) -v test -l -k $(T)
else
python $(shell which pytest) -v test -l
python3 $(shell which pytest) -v test -l
endif
test-verbose:
python $(shell which pytest) -v test -s
python3 $(shell which pytest) -v test -s
test-coverage:
python $(shell which pytest) -v test --cov=secop
python3 $(shell which pytest) -v test --cov=secop
doc:
$(MAKE) -C doc html