iris icon indicating copy to clipboard operation
iris copied to clipboard

Retire site.cfg

Open pp-mo opened this issue 4 years ago • 7 comments

Ref: https://github.com/SciTools/iris/pull/3458

This is less and less used, and an awkward and old-fashioned approach for users (IMHO). It now contains just 3 path settings :

  • iris-sample-data can be configured by PYTHONPATH instead as it is importable (which is already a supported option).
  • iris-test-data could be made importable
  • the dot-path remains. Perhaps this can be fixed some other way.
    • frankly this is a really ancient and little-used feature which we probably don't need at all IMHO. But this isn't the time to address that

pp-mo avatar Oct 14 '19 11:10 pp-mo

@pp-mo I'm :+1: for tidying the setup.cfg but I'm :-1: on flat out retiring it.... unless you've (we've) got a clear approach to do this. Any further thoughts? :thinking:

I really don't believe it makes sense to make iris-test-data importable. It just a big old data blob, and what's more it's only for developers. I'd say that making it importable is not really worth the effort. I think it's just about okay for iris-sample-data to be importable, as long as it doesn't bloat too much further - if it did, then I think that we'd need to seriously reconsider whether it should be importable or not.

bjlittle avatar Oct 14 '19 11:10 bjlittle

@bjlittle I really don't believe it makes sense to make iris-test-data importable. It just a big old data blob, and what's more it's only for developers.

ok, maybe it's not needed if we believe in #3416. But in that case we really need some more help for aspiring developers -- I'll make more comment there..

pp-mo avatar Oct 14 '19 12:10 pp-mo

Action on @bjlittle to make a proposal on how to move forwards and rationalise site.cfg et al at the peloton e.g., use of DOCS_DIR

bjlittle avatar Nov 25 '20 10:11 bjlittle

Also found we have another setting "Resources/doc_dir "that is still used in this line Though it's not mentioned in site.cfg.template

pp-mo avatar Nov 25 '20 10:11 pp-mo

Offline discussion: we all share the ambition!

trexfeathers avatar Sep 21 '22 09:09 trexfeathers