mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Update python directories to better support setup.py
Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
21
contrib/python/pypodman/Makefile
Normal file
21
contrib/python/pypodman/Makefile
Normal 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 {} \;
|
Reference in New Issue
Block a user