[PATCH] Consolidated patch to install contrib/ on posix platforms
Jonathan S. Shapiro
shap at eros-os.com
Sun Sep 9 17:52:28 CDT 2007
On Mon, 2007-09-10 at 01:18 +0300, Giorgos Keramidas wrote:
> On 2007-09-09 17:09, "Jonathan S. Shapiro" <shap at eros-os.com> wrote:
>
> > Initially, I thought I would fix this with a patch to the RPM spec file
> > (which is essentially what you propose). The problem with this is that
> > the stuff in contrib/ really isn't optional for a useful mercurial
> > install. hg-login and hg-ssh come to mind, but also hgk.
>
> This doesn't mean that hardcoded installation paths would make them
> easier to integrate with any random OS.
I agree completely! Unfortunately, I could not quickly figure out how to
write a setup tool for python that would let me add a new command line
option to specify the desired location to install. If that can be done,
I am all for it. What I was trying to accomplish was to get an solution
in place so that Fedora could get the contrib/ tree into the 0.9.4
release (which still isn't out). I am very happy to have others improve
on that solution!
I did this in < 4 hours, and I didn't know *anything* about setuptools
when I started. It's only a first step, but it seems better than
nothing.
> > I don't want to dictate an answer here, but I would like to understand
> > why installing something that was not properly installed before into
> > the standard location is not a good solution on OpenBSD? Is there some
> > other place that it should go?
>
> Picking the 'standard place' is the hard part. It tends to differ when
> one switches OSes or even distributions of the same OS.
Yes. The root problem here is that I don't understand how to expose this
as an option in the style of Python setuptools. If you can point me in
the right direction, I am happy to do so.
--
Jonathan S. Shapiro
Managing Director
The EROS Group, LLC
www.coyotos.org, www.eros-os.org
More information about the Mercurial-devel
mailing list