bundleup 0.2.0__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {bundleup-0.2.0 → bundleup-0.3.0}/PKG-INFO +26 -5
  2. {bundleup-0.2.0 → bundleup-0.3.0}/README.md +14 -3
  3. {bundleup-0.2.0 → bundleup-0.3.0}/pyproject.toml +15 -1
  4. {bundleup-0.2.0 → bundleup-0.3.0}/pyproject.toml.orig +12 -2
  5. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/__init__.py +1 -1
  6. bundleup-0.3.0/src/bundleup/_build.py +1810 -0
  7. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_bytecode.py +70 -15
  8. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_cache.py +107 -13
  9. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_check.py +328 -60
  10. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_cli.py +311 -27
  11. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_config.py +143 -30
  12. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_coverage.py +129 -27
  13. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_exe.py +165 -53
  14. bundleup-0.3.0/src/bundleup/_imports.py +543 -0
  15. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_loader.py +679 -114
  16. bundleup-0.3.0/src/bundleup/_network.py +419 -0
  17. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_outputs.py +279 -37
  18. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_payload.py +308 -75
  19. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_platforms.py +125 -21
  20. bundleup-0.3.0/src/bundleup/_python.py +620 -0
  21. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_runtime.py +178 -20
  22. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_sitecustomize.py +13 -2
  23. bundleup-0.3.0/src/bundleup/_smoke.py +298 -0
  24. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_source.py +287 -29
  25. bundleup-0.3.0/src/bundleup/_uv.py +1582 -0
  26. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_verify.py +366 -44
  27. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_zipwriter.py +5 -1
  28. bundleup-0.2.0/src/bundleup/_build.py +0 -946
  29. bundleup-0.2.0/src/bundleup/_imports.py +0 -248
  30. bundleup-0.2.0/src/bundleup/_python.py +0 -347
  31. bundleup-0.2.0/src/bundleup/_smoke.py +0 -158
  32. bundleup-0.2.0/src/bundleup/_uv.py +0 -763
  33. {bundleup-0.2.0 → bundleup-0.3.0}/LICENSE +0 -0
  34. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/__main__.py +0 -0
  35. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_errors.py +0 -0
  36. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_formats.py +0 -0
  37. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_steps.py +0 -0
  38. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_term.py +0 -0
  39. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_text.py +0 -0
  40. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/_toml.py +0 -0
  41. {bundleup-0.2.0 → bundleup-0.3.0}/src/bundleup/py.typed +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bundleup
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step.
5
- Keywords: bundler,pyz,zipapp,packaging,distribution,cli
5
+ Keywords: bundler,pyz,zipapp,packaging,distribution,cli,uv,pep-723,executable,serverless
6
6
  Author: funkyfunc
7
7
  License-Expression: MIT
8
8
  License-File: LICENSE
@@ -11,15 +11,25 @@ Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Operating System :: OS Independent
13
13
  Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
14
21
  Classifier: Topic :: Software Development :: Build Tools
15
22
  Classifier: Topic :: System :: Software Distribution
23
+ Classifier: Typing :: Typed
16
24
  Requires-Dist: packaging>=23
17
25
  Requires-Dist: tomli>=1.1 ; python_full_version < '3.11'
18
26
  Requires-Dist: uv>=0.9
19
27
  Requires-Python: >=3.9
20
28
  Project-URL: Homepage, https://github.com/funkyfunc/bundleup
29
+ Project-URL: Documentation, https://github.com/funkyfunc/bundleup/blob/main/docs/cli-reference.md
21
30
  Project-URL: Repository, https://github.com/funkyfunc/bundleup
22
31
  Project-URL: Issues, https://github.com/funkyfunc/bundleup/issues
32
+ Project-URL: Changelog, https://github.com/funkyfunc/bundleup/blob/main/CHANGELOG.md
23
33
  Description-Content-Type: text/markdown
24
34
 
25
35
  # bundleup
@@ -35,11 +45,19 @@ And it tells you *before* you ship what won't survive the trip.
35
45
 
36
46
  Dead simple to use, but also powerful and fast: esbuild's experience, for Python.
37
47
 
38
- > **Status: alpha (0.2.0).** Builds for this machine or another platform (Linux, macOS, Windows;
48
+ > **Status: alpha (0.3.0).** Builds for this machine or another platform (Linux, macOS, Windows;
39
49
  > x86_64 and arm64), passes the [gauntlet](https://github.com/funkyfunc/bundleup/blob/main/gauntlet/README.md)
40
50
  > on all four in CI, and the own test suites of click, packaging, markupsafe and itsdangerous give
41
- > the same results from a bundle as from a venv (nightly). Try it without installing via
42
- > `uvx bundleup build`, or install with `uv tool install bundleup` / `pip install bundleup`.
51
+ > the same results from a bundle as from a venv (nightly).
52
+
53
+ ## Install
54
+
55
+ ```bash
56
+ uvx bundleup build # run directly without installing
57
+ uv tool install bundleup # install as a global CLI tool with uv
58
+ pipx install bundleup # or with pipx
59
+ pip install bundleup # or into an environment (CLI + Python API)
60
+ ```
43
61
 
44
62
  ## Usage
45
63
 
@@ -112,6 +130,9 @@ See [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision
112
130
 
113
131
  ## Where to start reading
114
132
 
133
+ - [docs/recipes.md](https://github.com/funkyfunc/bundleup/blob/main/docs/recipes.md): copy-paste recipes for Claude Skills, AWS Lambda, Docker, host apps, CI and air-gapped servers
134
+ - [docs/cli-reference.md](https://github.com/funkyfunc/bundleup/blob/main/docs/cli-reference.md): every command, flag, environment variable, `[tool.bundleup]` key, exit code and diagnostic code
135
+ - [CHANGELOG.md](https://github.com/funkyfunc/bundleup/blob/main/CHANGELOG.md): what shipped in each release
115
136
  - [MISSION.md](https://github.com/funkyfunc/bundleup/blob/main/MISSION.md): goal, scope, what "done" means
116
137
  - [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md): where bundleup fits and who it's for
117
138
  - [docs/roadmap.md](https://github.com/funkyfunc/bundleup/blob/main/docs/roadmap.md): where it could go next
@@ -11,11 +11,19 @@ And it tells you *before* you ship what won't survive the trip.
11
11
 
12
12
  Dead simple to use, but also powerful and fast: esbuild's experience, for Python.
13
13
 
14
- > **Status: alpha (0.2.0).** Builds for this machine or another platform (Linux, macOS, Windows;
14
+ > **Status: alpha (0.3.0).** Builds for this machine or another platform (Linux, macOS, Windows;
15
15
  > x86_64 and arm64), passes the [gauntlet](https://github.com/funkyfunc/bundleup/blob/main/gauntlet/README.md)
16
16
  > on all four in CI, and the own test suites of click, packaging, markupsafe and itsdangerous give
17
- > the same results from a bundle as from a venv (nightly). Try it without installing via
18
- > `uvx bundleup build`, or install with `uv tool install bundleup` / `pip install bundleup`.
17
+ > the same results from a bundle as from a venv (nightly).
18
+
19
+ ## Install
20
+
21
+ ```bash
22
+ uvx bundleup build # run directly without installing
23
+ uv tool install bundleup # install as a global CLI tool with uv
24
+ pipx install bundleup # or with pipx
25
+ pip install bundleup # or into an environment (CLI + Python API)
26
+ ```
19
27
 
20
28
  ## Usage
21
29
 
@@ -88,6 +96,9 @@ See [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision
88
96
 
89
97
  ## Where to start reading
90
98
 
99
+ - [docs/recipes.md](https://github.com/funkyfunc/bundleup/blob/main/docs/recipes.md): copy-paste recipes for Claude Skills, AWS Lambda, Docker, host apps, CI and air-gapped servers
100
+ - [docs/cli-reference.md](https://github.com/funkyfunc/bundleup/blob/main/docs/cli-reference.md): every command, flag, environment variable, `[tool.bundleup]` key, exit code and diagnostic code
101
+ - [CHANGELOG.md](https://github.com/funkyfunc/bundleup/blob/main/CHANGELOG.md): what shipped in each release
91
102
  - [MISSION.md](https://github.com/funkyfunc/bundleup/blob/main/MISSION.md): goal, scope, what "done" means
92
103
  - [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md): where bundleup fits and who it's for
93
104
  - [docs/roadmap.md](https://github.com/funkyfunc/bundleup/blob/main/docs/roadmap.md): where it could go next
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bundleup"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -13,6 +13,10 @@ keywords = [
13
13
  "packaging",
14
14
  "distribution",
15
15
  "cli",
16
+ "uv",
17
+ "pep-723",
18
+ "executable",
19
+ "serverless",
16
20
  ]
17
21
  classifiers = [
18
22
  "Development Status :: 3 - Alpha",
@@ -20,8 +24,16 @@ classifiers = [
20
24
  "Intended Audience :: Developers",
21
25
  "Operating System :: OS Independent",
22
26
  "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3 :: Only",
28
+ "Programming Language :: Python :: 3.9",
29
+ "Programming Language :: Python :: 3.10",
30
+ "Programming Language :: Python :: 3.11",
31
+ "Programming Language :: Python :: 3.12",
32
+ "Programming Language :: Python :: 3.13",
33
+ "Programming Language :: Python :: 3.14",
23
34
  "Topic :: Software Development :: Build Tools",
24
35
  "Topic :: System :: Software Distribution",
36
+ "Typing :: Typed",
25
37
  ]
26
38
  dependencies = [
27
39
  "packaging>=23",
@@ -34,8 +46,10 @@ name = "funkyfunc"
34
46
 
35
47
  [project.urls]
36
48
  Homepage = "https://github.com/funkyfunc/bundleup"
49
+ Documentation = "https://github.com/funkyfunc/bundleup/blob/main/docs/cli-reference.md"
37
50
  Repository = "https://github.com/funkyfunc/bundleup"
38
51
  Issues = "https://github.com/funkyfunc/bundleup/issues"
52
+ Changelog = "https://github.com/funkyfunc/bundleup/blob/main/CHANGELOG.md"
39
53
 
40
54
  [project.scripts]
41
55
  bundleup = "bundleup._cli:main"
@@ -1,21 +1,29 @@
1
1
  [project]
2
2
  name = "bundleup"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step."
5
5
  readme = "README.md"
6
6
  license = "MIT"
7
7
  license-files = ["LICENSE"]
8
8
  requires-python = ">=3.9"
9
9
  authors = [{ name = "funkyfunc" }]
10
- keywords = ["bundler", "pyz", "zipapp", "packaging", "distribution", "cli"]
10
+ keywords = ["bundler", "pyz", "zipapp", "packaging", "distribution", "cli", "uv", "pep-723", "executable", "serverless"]
11
11
  classifiers = [
12
12
  "Development Status :: 3 - Alpha",
13
13
  "Environment :: Console",
14
14
  "Intended Audience :: Developers",
15
15
  "Operating System :: OS Independent",
16
16
  "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3 :: Only",
18
+ "Programming Language :: Python :: 3.9",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ "Programming Language :: Python :: 3.14",
17
24
  "Topic :: Software Development :: Build Tools",
18
25
  "Topic :: System :: Software Distribution",
26
+ "Typing :: Typed",
19
27
  ]
20
28
  dependencies = [
21
29
  "packaging>=23",
@@ -25,8 +33,10 @@ dependencies = [
25
33
 
26
34
  [project.urls]
27
35
  Homepage = "https://github.com/funkyfunc/bundleup"
36
+ Documentation = "https://github.com/funkyfunc/bundleup/blob/main/docs/cli-reference.md"
28
37
  Repository = "https://github.com/funkyfunc/bundleup"
29
38
  Issues = "https://github.com/funkyfunc/bundleup/issues"
39
+ Changelog = "https://github.com/funkyfunc/bundleup/blob/main/CHANGELOG.md"
30
40
 
31
41
  [project.scripts]
32
42
  bundleup = "bundleup._cli:main"
@@ -37,7 +37,7 @@ if TYPE_CHECKING:
37
37
  from ._steps import ProgressEvent
38
38
  from ._verify import VerifyReport, verify
39
39
 
40
- __version__ = "0.2.0"
40
+ __version__ = "0.3.0"
41
41
 
42
42
  __all__ = [
43
43
  "BuildOptions",