diff --git a/dandi/consts.py b/dandi/consts.py index 7a0a8522e..800411d2a 100644 --- a/dandi/consts.py +++ b/dandi/consts.py @@ -116,11 +116,13 @@ def urls(self) -> Iterator[str]: # to test against instance running outside of current environment instancehost = os.environ.get("DANDI_INSTANCEHOST", "localhost") +# TODO: Aaron: Abstract as env variables that domains can be sent as +# TODO: Also add docs for what each of these values should map to known_instances = { "dandi": DandiInstance( "dandi", - "https://dandiarchive.org", - "https://api.dandiarchive.org/api", + "https://lincbrain.org", + "https://api.lincbrain.org/api", ), "dandi-staging": DandiInstance( "dandi-staging", @@ -133,6 +135,7 @@ def urls(self) -> Iterator[str]: f"http://{instancehost}:8000/api", ), } + # to map back url: name known_instances_rev = { vv: k for k, v in known_instances.items() for vv in v.urls() if vv diff --git a/setup.cfg b/setup.cfg index f6c0c5cf2..d843f3b1e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] -name = dandi -url = http://dandiarchive.org -author = DANDI developers -author_email = team@dandiarchive.org -maintainer = Yaroslav O. Halchenko -maintainer_email = debian@onerussian.com +name = lincbrain +url = http://lincbrain.org +author = LINC developers +author_email = team@lincbrain.org +maintainer = Aaron Kanzer +maintainer_email = akanzer@mit.edu classifiers = Development Status :: 1 - Planning Environment :: Console @@ -18,12 +18,12 @@ classifiers = Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering license = Apache 2.0 -description = Command line client for interaction with DANDI archive elements +description = Command line client for interaction with LINC Brain archive elements long_description = file:README.md long_description_content_type = text/markdown; charset=UTF-8 platforms = OS Independent project_urls = - Source Code = https://github.com/dandi/dandi-cli + Source Code = https://github.com/lincbrain/linc-cli Documentation = https://dandi.readthedocs.io [options] diff --git a/setup.py b/setup.py index 05765009c..8bfffd39f 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ if sys.version_info < (3,): raise RuntimeError( - "dandi-cli's setup.py requires python 3 or later. " + "linc-cli's setup.py requires python 3 or later. " "You are using %s" % sys.version ) @@ -38,4 +38,4 @@ setup_kw = {} if __name__ == "__main__": - setup(name="dandi", **setup_kw) + setup(name="lincbrain", **setup_kw)