Skip to content

Commit

Permalink
rf: import PRE_INIT_COMMIT_SHA from datalad_core
Browse files Browse the repository at this point in the history
In an effort to trim dependencies on legacy datalad.
  • Loading branch information
mih committed Oct 30, 2024
1 parent 3157085 commit fe6bb83
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion datalad_next/consts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
``True`` if executed on the Windows platform.
"""

__all__ = [
'COPY_BUFSIZE',
'PRE_INIT_COMMIT_SHA',
'on_linux',
'on_windows',
]

# import from "utils", but these really are constants
from datalad.utils import (
on_linux,
Expand All @@ -29,4 +36,4 @@
# from PY3.10
COPY_BUFSIZE = 1024 * 1024 if on_windows else 64 * 1024

from datalad.consts import PRE_INIT_COMMIT_SHA
from datalad_core.consts import PRE_INIT_COMMIT_SHA

0 comments on commit fe6bb83

Please sign in to comment.