Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5429 > unrolled thread

Re: [Python-de] python-pyspf Installation

Started byratatouille <ratatouille@nimmini.de>
First post2019-01-28 23:42 +0100
Last post2019-01-28 23:42 +0100
Articles 1 — 1 participant

Back to article view | Back to de.comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Python-de] python-pyspf Installation ratatouille <ratatouille@nimmini.de> - 2019-01-28 23:42 +0100

#5429 — Re: [Python-de] python-pyspf Installation

Fromratatouille <ratatouille@nimmini.de>
Date2019-01-28 23:42 +0100
SubjectRe: [Python-de] python-pyspf Installation
Message-ID<mailman.411.1548715332.4816.python-de@python.org>
Christopher Arndt <chris@chrisarndt.de> schrieb am 28.01.19 um 22:34:13 Uhr:

> Am 28.01.19 um 22:18 schrieb ratatouille:
> > error: Failed dependencies:
> > 	python-pyspf is needed by python-policyd-spf-1.0-45.1.noarch
> > 
> > Also das rpm findet das pyspf nicht, obwohl es installiert ist.  
> 
> Dependencies von RPM-Paketen funktionieren nur innerhalb der
> Distributionspakete. Python-Pakete, die von PyPI installierst, kennt das
> RPM-System nicht. Wenn es kein RPM-Paket 'python-pyspf' für deine Distro
> gibt, dann ist das RPM-Paket 'python-policyd-spf' auch nicht mit deiner
> Distro kompatibel.
> 
> Wenn du die Software benutzen willst, musst du also herausfinden, auf
> welchem Python-Paket (nicht zu verwechseln mit RPM-Paket)
> 'python-policyd-spf' beruht (höchstwahrscheinlich 'pypolicyd-spf') und
> dieses, wie von mir beschrieben mit pip 'von Hand' installieren.
> 
> Es kann allerdings sein, dass das RPM-Paket noch zusätzliche Komponenten
> enthält, die im reinen Python-Pakete nicht enthalten sind, wie z.B.
> Konfigurationsdateien, Systemd-Units, Log-Verzeichnisse usw.

Danke recht herzlich für Deine Ausführungen! Es scheint gut gegangen zu sein.
Ich habe dann auch noch python3 aus der Distribution installiert.

python3 -m pip install pyspf
Downloading/unpacking pyspf
  Downloading pyspf-2.0.11.tar.gz (63kB): 63kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pyspf/setup.py) egg_info for package pyspf
    
Installing collected packages: pyspf
  Running setup.py install for pyspf
    changing mode of build/scripts-3.4/type99.py from 644 to 755
    changing mode of build/scripts-3.4/spfquery.py from 644 to 755
    
    changing mode of /usr/bin/type99.py to 755
    changing mode of /usr/bin/spfquery.py to 755
Successfully installed pyspf
Cleaning up...

python3 -m pip install pypolicyd-spf
Downloading/unpacking pypolicyd-spf
  Downloading pypolicyd-spf-2.0.2.tar.gz
  Running setup.py (path:/tmp/pip_build_root/pypolicyd-spf/setup.py) egg_info for package pypolicyd-spf
    
Installing collected packages: pypolicyd-spf
  Running setup.py install for pypolicyd-spf
    changing mode of build/scripts-3.4/policyd-spf from 644 to 755
    
    changing mode of /usr/bin/policyd-spf to 755
Successfully installed pypolicyd-spf
Cleaning up...

Jetzt will ich mal versuchen, das anzuwenden.
 
> Am besten fragst du mal auf der Projekthomepage nach, wie die Software
> auf deiner Distribution am besten installiert wird:
> 
> https://launchpad.net/pypolicyd-spf
> 
> 
> Chris

Grüße

  Andreas

[toc] | [standalone]


Back to top | Article view | de.comp.lang.python


csiph-web