-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from isidentical/isolate-interact
feat: Isolate builder APIs!
- Loading branch information
Showing
10 changed files
with
715 additions
and
233 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,16 @@ description = "Managed isolated environments for Python" | |
authors = ["Features & Labels <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7" | ||
python = ">=3.7,<4.0" | ||
virtualenv = ">=20.4" | ||
importlib-metadata = ">=4.4" | ||
grpcio = { version = ">=1.49", optional = true } | ||
protobuf = { version = "*", optional = true } | ||
rich = ">=12.0" | ||
grpcio = ">=1.49" | ||
protobuf = "*" | ||
|
||
[tool.poetry.extras] | ||
grpc = ["grpcio", "protobuf"] | ||
server = ["grpcio", "protobuf"] | ||
grpc = [] | ||
server = [] | ||
|
||
[tool.poetry.plugins."isolate.backends"] | ||
"virtualenv" = "isolate.backends.virtualenv:VirtualPythonEnvironment" | ||
|
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
from isolate.interface import ( | ||
Box, | ||
BoxedEnvironment, | ||
LocalBox, | ||
RemoteBox, | ||
Template, | ||
) | ||
from isolate.registry import prepare_environment | ||
|
||
__version__ = "0.1.0" |
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
Oops, something went wrong.