Stop importing PDCClient
We no longer use it anywhere, so drop the import. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
489bb03a3d
commit
878eaeaaf6
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user