🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87321

Re: PyClean installation

#87321
From: Steve Crook
Date: Thu, 14 Jan 2016 12:14
42 lines
2461 bytes
On Sun, 10 Jan 2016 21:32:05 -0000 (UTC), Steve Crook wrote in
Message-Id: <slrnn95jel.lfk.steve@fleegle.mixmin.net>:

> This is where the fun really starts!  Python < 2.6 made a poor job of
> handling packages with relative links to modules.  I figured out how to
> fix it but the fix then breaks versions >= 2.6.  In the end, I think the
> best solution is to merge all the packaged files into the single
> pyclean.py file.  This has an added advantage that the pyclean.py file
> can now be put directly into the ~news/bin/filter directory (either with
> a symlink or renamed to filter_innd.py).  This change has now been
> commited to the github repository.
>
> Next I installed Python2.4 and tried to test against it.  There are a
> number of libraries that didn't exist back then, including:
>
> hashlib
> email.utils (was email.Utils)
> collections (defaultdict)
>
> These were relatively easy to workaround.
>
> I've got the new code running on my server now but it's using
> python-2.7.9.  There may be runtime issues with older Pythons so I'll
> create a test platform but it will take some more time.

Hi Julien,

I've now tested the revised PyClean and it's been stable for a few days.
Would you mind downloading it and trying again?  The modules are now
merged into a single file, pyclean.py so you don't need to install it
using the install script, it can be placed directly into the
~news/bin/filter directory and renamed as filter_innd.py (or symlinked).

Best wishes,
Steve

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?

Technical Details
Message-ID: <slrnn9f49r.lfk.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnn9f49r.lfk.steve@fleegle.mixmin.net>
Subject: Re: PyClean installation
Date: Thu, 14 Jan 2016 12:14:51 +0000
From: Steve Crook <steve@mixmin.net>
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Thu, 14 Jan 2016 12:14:51 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="a9bc96ea220dfec4647fda15f105e0f4c0b75cf6";
 logging-data="13366"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.3-6 (Linux)
X-Received-Body-CRC: 2242627756
X-Received-Bytes: 2395