Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] [RFC] Default directory in $HOME to search for installed developments.

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] [RFC] Default directory in $HOME to search for installed developments.


chronological Thread 
  • From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
  • To: Tom Prince <tom.prince AT ualberta.net>
  • Cc: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] [RFC] Default directory in $HOME to search for installed developments.
  • Date: Mon, 25 Apr 2011 00:49:24 +0200

Le dimanche 24 avril 2011 à 16:18 -0400, Tom Prince a écrit :

> Python has this, an uses $HOME/.local/lib/python$VERSION/site-packages
> I would suggest $HOME/.local/lib/coq for this. I am curious if people 
> think this is a good idea, and if so, what their opinions on location
> are.

Rather than deciding on a specific location, you could just as well
follow the XDG Base Directory Specification [1] and use
$XDG_DATA_HOME/coq as the default path (possibly followed by /$VERSION,
so as to avoid incompatible .vo files when changing version). Basically,
it means that, on a system without any environment variable set, the
files would end up in $HOME/.local/share/coq/...

Best regards,

Guillaume

[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html




Archive powered by MhonArc 2.6.16.

Top of Page