-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try namespace with init, does not work, need to have only single init Extract rich from all other code WIP - shim
- Loading branch information
1 parent
3d36d22
commit c17069e
Showing
14 changed files
with
345 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[tool.poetry] | ||
name = "truss-shim" # TODO: make atomic switch of `truss` -> `truss-lib` & `truss-shim` -> `truss`. | ||
version = "0.10.0rc000" | ||
description = "A seamless bridge from model development to model delivery" | ||
authors = ["Pankaj Gupta <[email protected]>", "Phil Howes <[email protected]>"] | ||
license = "MIT" | ||
|
||
packages = [ | ||
{ include = "truss", from = "."} | ||
] | ||
|
||
[tool.poetry.scripts] | ||
truss = "truss.cli.cli:truss_cli" | ||
|
||
[tool.poetry.dependencies] | ||
# When using chains, 3.9 will be required at runtime, but other truss functionality works with 3.8. | ||
python = ">=3.8,<3.13" | ||
# TODO: carve out `cli` extra selectively instead of `all`. | ||
truss_lib = { version = "0.10.0rc000", extras = ["all"] } | ||
|
||
[build-system] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.2.1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from truss import version | ||
from truss.api.api import login, push, whoami | ||
from truss.base import truss_config | ||
from truss.truss_handle.build import load # TODO: Refactor all usages and remove. | ||
|
||
__version__ = version.VERSION | ||
|
||
__all__ = ["push", "login", "load", "whoami", "truss_config"] |
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from pathlib import Path | ||
|
||
from single_source import get_version | ||
|
||
VERSION = get_version(__name__, Path(__file__).parent.parent) |