-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of using raw `scie-jump` and a hand-crafted JSON lift manifest, use `science` and a TOML lift manifest to build `scie-pants`. The `science` tool and its more friendly interface are the present and future of end-user scie construction. We convert here and gain a few things: + A manifest format we can comment. + Abstraction over platforms and PBS details. + Support for embedded build provenanace information for more comprehensive black box debugability. + A clean path to publishing both "thin" and "fat" binaries, solving #154.
- Loading branch information
Showing
14 changed files
with
500 additions
and
525 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
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 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,57 @@ | ||
[lift] | ||
name = "pbt" | ||
description = """\ | ||
Python Build Tool: A BusyBox that provides `python`, `pip`, `pex`, `pex3` and `pex-tools`.\ | ||
""" | ||
|
||
[[lift.interpreters]] | ||
id = "cpython" | ||
provider = "PythonBuildStandalone" | ||
release = "20230507" | ||
lazy = true | ||
version = "3.8.16" | ||
|
||
[[lift.files]] | ||
name = "pex" | ||
type = "blob" | ||
digest = { size = 4098329, fingerprint = "faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8" } | ||
source = { url = "https://github.com/pantsbuild/pex/releases/download/v2.1.137/pex", lazy = true } | ||
|
||
[[lift.commands]] | ||
name = "pex" | ||
exe = "#{cpython:python}" | ||
args = [ | ||
"{pex}" | ||
] | ||
|
||
[[lift.commands]] | ||
name = "pex3" | ||
exe = "#{cpython:python}" | ||
args = [ | ||
"{pex}" | ||
] | ||
|
||
[lift.commands.env.replace] | ||
PEX_SCRIPT = "pex3" | ||
|
||
[[lift.commands]] | ||
name = "pex-tools" | ||
exe = "#{cpython:python}" | ||
args = [ | ||
"{pex}" | ||
] | ||
|
||
[lift.commands.env.replace] | ||
PEX_SCRIPT = "pex-tools" | ||
|
||
[[lift.commands]] | ||
name = "pip" | ||
exe = "#{cpython:python}" | ||
args = [ | ||
"-m", | ||
"pip" | ||
] | ||
|
||
[[lift.commands]] | ||
name = "python" | ||
exe = "#{cpython:python}" |
Oops, something went wrong.