Update virtualenv instructions
* Koji can now be installed from PyPI and it will also pull in rpm. This needs rpm-devel install on the system. This means we can get kobo from PyPI as well. * Using print function should make it work for python 3 virtualenvs. * Newer we need kobo in 0.6.0 at least, but newer is fine too. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
102fec83b3
commit
8b9508b027
@ -20,8 +20,6 @@ These packages will have to installed:
|
||||
* isomd5sum
|
||||
* jigdo
|
||||
* kobo
|
||||
* kobo-rpmlib
|
||||
* koji
|
||||
* krb5-devel
|
||||
* libcurl-devel
|
||||
* libmodulemd
|
||||
@ -36,6 +34,7 @@ These packages will have to installed:
|
||||
* python2-multilib
|
||||
* python-productmd
|
||||
* repoview
|
||||
* rpm-devel
|
||||
* syslinux
|
||||
* yum
|
||||
* yum-utils
|
||||
@ -57,11 +56,11 @@ 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 koji libcomps pdc_client pykickstart rpm 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
|
||||
$ 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 _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:
|
||||
$ pip install beanbag jsonschema kobo==0.6.0 lockfile lxml mock nose nose-cov productmd pyopenssl python-multilib requests requests-kerberos setuptools sphinx ordered_set
|
||||
$ pip install beanbag jsonschema 'kobo>=0.6.0' lockfile lxml mock nose nose-cov productmd pyopenssl python-multilib requests requests-kerberos setuptools sphinx ordered_set koji
|
||||
|
||||
Now you should be able to run all existing tests.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user