mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Merge pull request #818 from wking/python-2-clean
Makefile: Call contrib/python's clean regardless of HAS_PYTHON3
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
PYTHON ?= /usr/bin/python3
|
||||
PYTHON ?= $(shell command -v python3 2>/dev/null || command -v python)
|
||||
DESTDIR := /
|
||||
PODMAN_VERSION ?= '0.0.4'
|
||||
|
||||
@ -31,7 +31,7 @@ clobber: uninstall clean
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(PYTHON) setup.py clean --all
|
||||
rm -rf pypodman.egg-info dist
|
||||
find . -depth -name __pycache__ -exec rm -rf {} \;
|
||||
find . -depth -name \*.pyc -exec rm -f {} \;
|
||||
$(PYTHON) ./setup.py clean --all
|
||||
|
2
contrib/python/pypodman/setup.py
Normal file → Executable file
2
contrib/python/pypodman/setup.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
Reference in New Issue
Block a user