Update python directories to better support setup.py

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2018-07-12 19:26:14 -07:00
parent 44b523c946
commit 74ccd9ce5f
54 changed files with 445 additions and 154 deletions

View File

@ -0,0 +1,21 @@
PYTHON ?= /usr/bin/python3
.PHONY: python-pypodman
python-pypodman:
$(PYTHON) setup.py bdist
.PHONY: integration
integration:
true
.PHONY: install
install:
$(PYTHON) setup.py install --user
.PHONY: clean
clean:
$(PYTHON) setup.py clean --all
pip3 uninstall pypodman ||:
rm -rf pypodman.egg-info dist
find . -depth -name __pycache__ -exec rm -rf {} \;
find . -depth -name \*.pyc -exec rm -f {} \;