Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ notification = [

# OS Module - OS utilities
# Use: pip install scitex[os]
os = []
# Real implementation lives in the standalone scitex-os package.
os = ["scitex-os>=0.1.0"]

# Parallel Module - Parallel processing
# Use: pip install scitex[parallel]
Expand Down
32 changes: 20 additions & 12 deletions src/scitex/os/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
#!/usr/bin/env python3
"""Scitex os module."""

from ._check_host import check_host, is_host, verify_host
from ._mv import mv

__all__ = [
"check_host",
"is_host",
"mv",
"verify_host",
]
"""SciTeX os — thin compatibility shim for scitex-os.

Aliases ``scitex.os`` to the standalone ``scitex_os`` package via ``sys.modules``.
``scitex.os is scitex_os``.

Install: ``pip install scitex[os]`` (or ``pip install scitex-os``).
See: https://github.com/ywatanabe1989/scitex-os
"""

import sys as _sys

try:
import scitex_os as _real
except ImportError as _e: # pragma: no cover
raise ImportError(
"scitex.os requires the 'scitex-os' package. "
"Install with: pip install scitex[os] (or: pip install scitex-os)"
) from _e

_sys.modules[__name__] = _real
33 changes: 0 additions & 33 deletions src/scitex/os/_check_host.py

This file was deleted.

50 changes: 0 additions & 50 deletions src/scitex/os/_mv.py

This file was deleted.

23 changes: 0 additions & 23 deletions src/scitex/os/_skills/SKILL.md

This file was deleted.

77 changes: 0 additions & 77 deletions src/scitex/os/_skills/check-host.md

This file was deleted.

53 changes: 0 additions & 53 deletions src/scitex/os/_skills/mv.md

This file was deleted.

66 changes: 0 additions & 66 deletions tests/scitex/os/test__mv.py

This file was deleted.

Loading