mirror of
https://github.com/containers/podman.git
synced 2026-02-02 10:21:53 -05:00
* Refactor create subparser to share arguments with run subparser * Add argparse.*Action subclasses to reduce duplicate code in parsers * Using BooleanAction now accept True/False value as expected * .pylintrc added to loosen variable name policing * Update AbstractBaseAction to remove unset arguments before transmitting to podman service * Align logging messages to podman output * Renamed global argument from --user to --username, to avoid conflict with create/run podman commands * Add new subcommands: run, create, history, import, info, push, restart and search Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #1519 Approved by: rhatdan
39 lines
760 B
Makefile
39 lines
760 B
Makefile
PYTHON ?= /usr/bin/python3
|
|
DESTDIR ?= /
|
|
PODMAN_VERSION ?= '0.0.4'
|
|
|
|
.PHONY: python-podman
|
|
python-podman:
|
|
$(PYTHON) setup.py sdist bdist
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
$(PYTHON) -m pylint podman
|
|
|
|
.PHONY: integration
|
|
integration:
|
|
test/test_runner.sh -v
|
|
|
|
.PHONY: install
|
|
install:
|
|
$(PYTHON) setup.py install --root ${DESTDIR}
|
|
|
|
.PHONY: upload
|
|
upload:
|
|
$(PODMAN_VERSION) $(PYTHON) setup.py sdist bdist_wheel
|
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
|
|
|
.PHONY: clobber
|
|
clobber: uninstall clean
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
$(PYTHON) -m pip uninstall --yes podman ||:
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(PYTHON) setup.py clean --all
|
|
rm -rf podman.egg-info dist
|
|
find . -depth -name __pycache__ -exec rm -rf {} \;
|
|
find . -depth -name \*.pyc -exec rm -f {} \;
|