misc changes for build and test

This commit is contained in:
Yu Ming Zhu 2018-12-11 09:47:47 +00:00 committed by Mike McLean
parent fa5ccf0eac
commit dc66521ceb
2 changed files with 3 additions and 12 deletions

View file

@ -7,8 +7,6 @@ omit =
tests/*
hub/*
util/*
koji/daemon.py
koji/tasks.py
[report]
exclude_lines =

View file

@ -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)