misc changes for build and test
This commit is contained in:
parent
fa5ccf0eac
commit
dc66521ceb
2 changed files with 3 additions and 12 deletions
|
|
@ -7,8 +7,6 @@ omit =
|
|||
tests/*
|
||||
hub/*
|
||||
util/*
|
||||
koji/daemon.py
|
||||
koji/tasks.py
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue