amoffat/pbs — pull request #64 by ralphbean (2012-06-16 01:18:33+00:00)
Title: Script to rename 'pbs' to 'sh' for dual-releases.

As talked about in issue #28, Fedora can't package this (much cooler) pbs so long as it and the other pbs share a name conflict. @agrover's approach of renaming the RPM to python-sh but keeping the module namespace won't work out; if both pbs modules are installed, what will ``import pbs`` actually import? See the [package review](https://bugzilla.redhat.com/show_bug.cgi?id=808258) for more details.

----

The script in this pull request just copies all the files to a ``sh/`` directory and does a dumb search-replace on them. Surprisingly, it works (the test suite does, at least).

Since ``sh`` is [squatted](http://pypi.python.org/pypi/sh), each time you do a new release of ``pbs``, you could run this script and also put up a release of ``sh`` all while avoiding the thorny task of maintaining two codebases.