From 878eaeaaf64460beef86dcb502e1ccca9a3c974b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 16 Jul 2018 11:08:29 +0200 Subject: [PATCH] Stop importing PDCClient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We no longer use it anywhere, so drop the import. Signed-off-by: Lubomír Sedlář --- doc/contributing.rst | 3 +-- pungi/__init__.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index a89c386e..4aa072fe 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -25,7 +25,6 @@ These packages will have to installed: * libmodulemd * libselinux-python * lorax - * pdc-client * python-jsonschema * python-kickstart * python-libcomps @@ -56,7 +55,7 @@ preferably from PyPI or from tarball. You will still need to install all of the packages above as they are used by calling an executable. :: $ mkvirtualenv pungienv - $ for pkg in createrepo gi libcomps pdc_client pykickstart rpmUtils selinux urlgrabber yum; do ln -vs "$(deactivate && python -c 'import os, '$pkg'; print(os.path.dirname('$pkg'.__file__))')" "$(virtualenvwrapper_get_site_packages_dir)"; done + $ for pkg in createrepo gi libcomps pykickstart rpmUtils selinux urlgrabber yum; do ln -vs "$(deactivate && python -c 'import os, '$pkg'; print(os.path.dirname('$pkg'.__file__))')" "$(virtualenvwrapper_get_site_packages_dir)"; done $ for pkg in _deltarpm krbV _selinux deltarpm sqlitecachec _sqlitecache; do ln -vs "$(deactivate && python -c 'import os, '$pkg'; print('$pkg'.__file__)')" "$(virtualenvwrapper_get_site_packages_dir)"; done $ pip install -U pip $ PYCURL_SSL_LIBRARY=nss pip install pycurl --no-binary :all: diff --git a/pungi/__init__.py b/pungi/__init__.py index 9f20a3fd..2e252106 100644 --- a/pungi/__init__.py +++ b/pungi/__init__.py @@ -5,7 +5,6 @@ import re try: - from pdc_client import PDCClient import gi gi.require_version('Modulemd', '1.0') # noqa from gi.repository import Modulemd