Python needs a CPyAN

John Roth newsgroups at jhrothjr.com
Wed Nov 3 07:14:37 EST 2004


"Mike Meyer" <mwm at mired.org> wrote in message 
news:x7d5yvv1vh.fsf at guru.mired.org...
> "John Roth" <newsgroups at jhrothjr.com> writes:
>
>> "John Hazen" <python-list at hazen.net> wrote in message
>> news:mailman.5838.1099425921.5135.python-list at python.org...
>> 1. Where do I store the module? I don't have a web site, and
>> it isn't on sourceforge.
>
> Ok, that's a definite need. Possibly python.org could host a mechanism
> to allow people to post modules. I'd do it myself, but I'm not sure
> how long I'm going to have my current net connection for.
>
>> 2. For what I've done, the standard installer script required
>> for PPI is stoopid. All that's really needed to install is unpack
>> to the right directory. That's it. However, to use distutils I
>> had to write a packager program to create all the entries
>> I needed. This took me quite a few hours and left a very
>> sour taste since a lot of things that I thought should have
>> been automatic weren't.
>
> I found the standard installer script trivial to set up. If it took
> hours, then you're doing something wrong. It even made it possible for
> me to distribute C modules to Windows, whereas those trying to build
> the module on Windows prior to me putting it into distutils never
> succeeded.

Oh, the standard installer would have been fine - if all I
was distributing was Python modules. However, I have
a fairly large number of examples and quite a large amount
of HTML documentation. For some reason, the standard
installer decided that it would copy them to the install file
just fine, and then not install them. Nothing I could do would
make them install other than listing each and every file in
the install script, individually and by hand.

That's absolutely stoopid when they go into the exact
same directory they came out of. The time was spent

1) asking for help on the newsgroup. Nobody had any
helpful suggestions.

2) Hammering on the thing trying to make it work.
No joy.

3) Writing a small script to build the distutils script.
That worked, although there still seems to be an
intermittant problem on the install.

John Roth
>
>        <mike
> -- 
> Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more 
> information. 




More information about the Python-list mailing list