diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-01-05 08:49:04 +0100 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2016-01-15 13:39:52 +0100 |
commit | 7e56b4bbd79d9d42af23babc7496dd15d85d28ea (patch) | |
tree | 3716b9a6747789dd37554bd7e2fb5b49ef193e1e /ipapython/py_default_encoding/Makefile | |
parent | 58c42ddac0964a8cce7c1e1faa7516da53f028ad (diff) | |
download | freeipa-7e56b4bbd79d9d42af23babc7496dd15d85d28ea.tar.gz freeipa-7e56b4bbd79d9d42af23babc7496dd15d85d28ea.tar.xz freeipa-7e56b4bbd79d9d42af23babc7496dd15d85d28ea.zip |
ipapython: remove default_encoding_utf8
Replace the "import default_encoding_utf8" in ipalib/cli.py with equivalent
Python code.
https://fedorahosted.org/freeipa/ticket/5596
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipapython/py_default_encoding/Makefile')
-rw-r--r-- | ipapython/py_default_encoding/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ipapython/py_default_encoding/Makefile b/ipapython/py_default_encoding/Makefile deleted file mode 100644 index a73f429db..000000000 --- a/ipapython/py_default_encoding/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -PYTHON ?= /usr/bin/python2 -PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib())") -PYTHONVERSION ?= $(shell $(PYTHON) -c "import sys; print(sys.version_info[0])") - -all: - if [ "$(PYTHONVERSION)" = "2" ]; then \ - python2 setup.py build; \ - fi - -install: - # Skip this module under Python 3 - if [ "$(PYTHONVERSION)" = "2" ]; then \ - if [ "$(DESTDIR)" = "" ]; then \ - python2 setup.py install; \ - else \ - python2 setup.py install --root $(DESTDIR); \ - fi; \ - fi - -clean: - rm -rf build - -distclean: clean - -maintainer-clean: distclean |