[Baypiggies] What is the best way to release simple (Python) open source utilities?

Jeff Fischer jeffrey.fischer at gmail.com
Wed Mar 23 04:12:07 CET 2011


Thanks to Andy, William, and Simeon for your suggestions!

I wasn't aware of gist.github That might be the way to go, as it provides
revision control and does not require me to maintain extra files.
Installation is just download the file and stick it in your /usr/local/bin
directory.

I am hesitant about creating a full-on distribution needed for PyPi, as it
would require the additional files and a dependency on easy_install.
However, it does have the big advantage in that it is more easily
discoverable. I'll be working this week or next to put another package on
PyPi. If that goes well, I'll try to do the same for my process killing
utility. If I get lazy and haven't done it by the end of the month, I'll
stick it on gist.github.

I can do a newbie nugget at some point, either on what I learned about the
PyPi process or on how to build a simple command line utility (e.g. using
optparse).

Thanks,
Jeff



On Tue, Mar 22, 2011 at 11:25 AM, Simeon Franklin <simeonf at gmail.com> wrote:

> On Tue, Mar 22, 2011 at 11:15 AM, Jeff Fischer
> <jeffrey.fischer at gmail.com> wrote:
> > Hi everyone,
> >  I've written a Python utility to kill processes by name. [snip]
> >  I could package it up with a setup.py and put it on PyPi, but that seems
> > like overkill for a 100 line script. I could put it on github, but that
> also
> > seems like overkill (or do people commonly share scripts that way?)
>
> Hey Jeff -
>
> I've been in the same boat with a small but useful utility. I dumped
> mine in a github gist (https://gist.github.com/242055/) as the easiest
> thing to do but honestly have on my personal todo list getting it up
> on PyPi. Partly this would be a learning experience for me (I have
> never published code on PyPi) but also this seems like the pythonic
> thing to do - then getting the utility would be as simple as
> easy_install pydelatt.
>
> Would publishing simple python packages (1 file, 106 lines) be a good
> newbie nugget sometime?
>
> -regards
> Simeon Franklin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110322/8cf57e8d/attachment-0001.html>


More information about the Baypiggies mailing list