diff --git a/.coveragerc3 b/.coveragerc3 index 3e60769a..b2b47e03 100644 --- a/.coveragerc3 +++ b/.coveragerc3 @@ -7,8 +7,6 @@ omit = tests/* hub/* util/* - koji/daemon.py - koji/tasks.py [report] exclude_lines = diff --git a/koji/Makefile b/koji/Makefile index 4abb93ba..7a3925a7 100644 --- a/koji/Makefile +++ b/koji/Makefile @@ -1,14 +1,7 @@ PACKAGE = $(shell basename `pwd`) -ifeq ($(PYTHON), python3) - # for python3 we fully support only basic library + CLI - PYFILES = __init__.py util.py plugin.py xmlrpcplus.py - PYSCRIPTS = - SUBDIRS = -else - PYFILES = $(wildcard *.py) - PYSCRIPTS = context.py - SUBDIRS = -endif +PYFILES = $(wildcard *.py) +PYSCRIPTS = +SUBDIRS = PYVER := $(shell $(PYTHON) -c 'import sys; print("%.3s" % (sys.version))') PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print(sys.prefix)') PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)