shipit-cli 0.3.0__py3-none-any.whl → 0.3.2__py3-none-any.whl
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.
- shipit/providers/hugo.py +0 -2
- shipit/providers/python.py +3 -3
- shipit/providers/staticfile.py +1 -3
- shipit/version.py +2 -2
- {shipit_cli-0.3.0.dist-info → shipit_cli-0.3.2.dist-info}/METADATA +1 -1
- {shipit_cli-0.3.0.dist-info → shipit_cli-0.3.2.dist-info}/RECORD +8 -8
- {shipit_cli-0.3.0.dist-info → shipit_cli-0.3.2.dist-info}/WHEEL +0 -0
- {shipit_cli-0.3.0.dist-info → shipit_cli-0.3.2.dist-info}/entry_points.txt +0 -0
shipit/providers/hugo.py
CHANGED
shipit/providers/python.py
CHANGED
|
@@ -74,7 +74,7 @@ class PythonProvider:
|
|
|
74
74
|
inputs = ", ".join([f"\"{input}\"" for input in input_files])
|
|
75
75
|
steps += [
|
|
76
76
|
"env(UV_PROJECT_ENVIRONMENT=local_venv[\"build\"] if cross_platform else venv[\"build\"])",
|
|
77
|
-
|
|
77
|
+
"run(f\"uv sync --compile --python python{python_version} --locked --no-managed-python\", inputs=[" + inputs + "], group=\"install\")",
|
|
78
78
|
"run(f\"uv pip compile pyproject.toml --python-version={python_version} --universal --extra-index-url {python_extra_index_url} --index-url=https://pypi.org/simple --emit-index-url --only-binary :all: -o cross-requirements.txt\", inputs=[\"pyproject.toml\"], outputs=[\"cross-requirements.txt\"]) if cross_platform else None",
|
|
79
79
|
"run(f\"uvx pip install -r cross-requirements.txt --target {python_cross_packages_path} --platform {cross_platform} --only-binary=:all: --python-version={python_version} --compile\") if cross_platform else None",
|
|
80
80
|
"run(\"rm cross-requirements.txt\") if cross_platform else None",
|
|
@@ -82,9 +82,9 @@ class PythonProvider:
|
|
|
82
82
|
if _exists(path, "requirements.txt"):
|
|
83
83
|
steps += [
|
|
84
84
|
"env(UV_PROJECT_ENVIRONMENT=local_venv[\"build\"] if cross_platform else venv[\"build\"])",
|
|
85
|
-
"run(\"uv init --no-managed-python --python python{
|
|
85
|
+
"run(f\"uv init --no-managed-python --python python{python_version}\", inputs=[], outputs=[\"uv.lock\"], group=\"install\")",
|
|
86
86
|
"run(f\"uv add -r requirements.txt\", inputs=[\"requirements.txt\"], group=\"install\")",
|
|
87
|
-
"run(f\"uv pip compile
|
|
87
|
+
"run(f\"uv pip compile requirements.txt --python-version={python_version} --universal --extra-index-url {python_extra_index_url} --index-url=https://pypi.org/simple --emit-index-url --only-binary :all: -o cross-requirements.txt\", inputs=[\"requirements.txt\"], outputs=[\"cross-requirements.txt\"]) if cross_platform else None",
|
|
88
88
|
"run(f\"uvx pip install -r cross-requirements.txt --target {python_cross_packages_path} --platform {cross_platform} --only-binary=:all: --python-version={python_version} --compile\") if cross_platform else None",
|
|
89
89
|
"run(\"rm cross-requirements.txt\") if cross_platform else None",
|
|
90
90
|
]
|
shipit/providers/staticfile.py
CHANGED
|
@@ -7,8 +7,6 @@ from .base import DetectResult, DependencySpec, Provider, _exists, MountSpec
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class StaticFileProvider:
|
|
10
|
-
static_dir = "site"
|
|
11
|
-
|
|
12
10
|
def name(self) -> str:
|
|
13
11
|
return "staticfile"
|
|
14
12
|
|
|
@@ -54,7 +52,7 @@ class StaticFileProvider:
|
|
|
54
52
|
|
|
55
53
|
def commands(self, path: Path) -> Dict[str, str]:
|
|
56
54
|
return {
|
|
57
|
-
"start":
|
|
55
|
+
"start": '"static-web-server --root=/app --log-level=info"'
|
|
58
56
|
}
|
|
59
57
|
|
|
60
58
|
def assets(self, path: Path) -> Optional[Dict[str, str]]:
|
shipit/version.py
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
shipit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
shipit/cli.py,sha256=LYgKEGLuMa3fjdTXlVZRVb2mjrrxUruWb0KeGnPSK2c,48195
|
|
3
3
|
shipit/generator.py,sha256=iBkVcs44dd_xYKitM_zNVLnpiZ3KrV__xVswPMCZ97Y,5570
|
|
4
|
-
shipit/version.py,sha256=
|
|
4
|
+
shipit/version.py,sha256=q4YEFXZgEj_Lq8ZLynIwtXS0ZMkWKYvnC167B49ntVM,95
|
|
5
5
|
shipit/assets/php/php.ini,sha256=f4irndAjB4GuuouEImRkNV22Q-yw1KqR-43jAMDw730,2531
|
|
6
6
|
shipit/providers/base.py,sha256=bqh1k7TSPJo7hOnxgdI6PIJmrqzQkZhgUoV0bbYIWrw,2403
|
|
7
7
|
shipit/providers/gatsby.py,sha256=VUGhE7xtQJHsYzEzdkXi3n5mbpgg868wbUVOU4MWN5s,2173
|
|
8
|
-
shipit/providers/hugo.py,sha256=
|
|
8
|
+
shipit/providers/hugo.py,sha256=CpkDw9LQWcUfWb1K64eEB1fTtj7OESoA1o3MqFhux7E,1456
|
|
9
9
|
shipit/providers/laravel.py,sha256=4wSa0ByLrq87WhrAf04mOGVKz_xn8xtCaSYHpx0l7-0,2812
|
|
10
10
|
shipit/providers/mkdocs.py,sha256=YIbSAaL2jDQtr8YteZmKjIbRMDWdoQgy6G2D6dfH1ws,2842
|
|
11
11
|
shipit/providers/node_static.py,sha256=Zpq4fRCMBzGkObdsfPVAoYUAnZSqE9C1D0aaJyI30Fc,2334
|
|
12
12
|
shipit/providers/php.py,sha256=HxxgfXmA0U6PeTLyFMbyXWm05G_IQqdFz4Liq1d_VBM,2635
|
|
13
|
-
shipit/providers/python.py,sha256=
|
|
13
|
+
shipit/providers/python.py,sha256=akAq9VRWXVTVqhczjBea6I0kJf8x5qGCiTVGSIgEcEA,6274
|
|
14
14
|
shipit/providers/registry.py,sha256=V6CAOK5gEX0RhWhr-lcAkvlwRuMom7YY2ZeAyRy1Eck,672
|
|
15
|
-
shipit/providers/staticfile.py,sha256=
|
|
16
|
-
shipit_cli-0.3.
|
|
17
|
-
shipit_cli-0.3.
|
|
18
|
-
shipit_cli-0.3.
|
|
19
|
-
shipit_cli-0.3.
|
|
15
|
+
shipit/providers/staticfile.py,sha256=Bn6VonTWIj6akCJDdfQtj2JhXJzaU98RJi3Rk1VeHAA,1843
|
|
16
|
+
shipit_cli-0.3.2.dist-info/METADATA,sha256=_yjvqKsUZXHgGd-AiFYwWw58urYyANDG-GwIzRyQekw,462
|
|
17
|
+
shipit_cli-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
18
|
+
shipit_cli-0.3.2.dist-info/entry_points.txt,sha256=7AE1NjSrHaSDfbfsRRO50KKnHFTbB0Imsccd1WynzAQ,72
|
|
19
|
+
shipit_cli-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|