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


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

Re: [Python-de] python-pyspf Installation

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From ratatouille <ratatouille@nimmini.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] python-pyspf Installation
Date Mon, 28 Jan 2019 23:42:06 +0100
Lines 73
Message-ID <mailman.411.1548715332.4816.python-de@python.org> (permalink)
References <cf732110-b523-4701-8f02-e8c0de7708a0@chrisarndt.de> <20190128234206.34bfbdbb@workstation>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de rioIEqY36f2vNZiajlVAcAkn0Hl6eWMoONts1b0HycMA==
Return-Path <ratatouille@nimmini.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=nimmini.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:subject:subject:from:from :date:date; s=20160826; t=1548715328; x=1550529729; bh=y1ooqsL4m K43mWtiIc1FdTc/rW6eH50ewslaMMlydPU=; b=q/42NCfCfkhXF4ALA1QIwNHGH 86+27NSsOPZcUhVe2kW3nkHBhuHJrc9Dwi+0m0wUX1WjSU/TOOgYKJcA9Lx8tOiT wgg5h+OMj0N64PQAONPEXib9SeUYkeM7H6CSUe9VafiNidcHMbWXR4UcP1V3BZx4 KzWiSe4cznK9ipBp4Q=
X-Virus-scanned by amavisd-new at bitcorner.de
In-Reply-To <cf732110-b523-4701-8f02-e8c0de7708a0@chrisarndt.de>
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20190128234206.34bfbdbb@workstation>
Xref csiph.com de.comp.lang.python:5429

Show key headers only | View raw


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

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

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

csiph-web