xenfra 0.1.2__py3-none-any.whl → 0.1.3__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.
xenfra/dockerizer.py CHANGED
@@ -57,10 +57,11 @@ def generate_deployment_assets(context):
57
57
  # --- 1. DOCKERFILE ---
58
58
  if not os.path.exists("Dockerfile"):
59
59
  # Use UV if detected, otherwise Pip
60
- install_cmd = "RUN pip install --no-cache-dir -r requirements.txt"
61
60
  if context.get("type") == "uv":
62
- # Assuming uv.lock or pyproject.toml is copied
63
- install_cmd = "RUN pip install uv && uv pip install --system -r requirements.txt"
61
+ install_cmd = "RUN pip install uv && uv pip install --system ."
62
+ else:
63
+ # Modern pip can install from pyproject.toml directly
64
+ install_cmd = "RUN pip install ."
64
65
 
65
66
  dockerfile_content = f"""# Generated by Xenfra
66
67
  FROM python:3.11-slim
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: xenfra
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A 'Zen Mode' infrastructure engine for Python developers.
5
5
  Author: xenfra-cloud
6
6
  Author-email: xenfra-cloud <xenfracloud@gmail.com>
@@ -1,10 +1,10 @@
1
1
  xenfra/__init__.py,sha256=ja0-Vc9T61EXZnPeX84Fi-UOjoGAWu5r90_1t-0WjVw,46
2
2
  xenfra/cli.py,sha256=3c6EFZuiq2ede3S5WKskrFgup769ECXYMLEMWfeaLo8,6105
3
- xenfra/dockerizer.py,sha256=BmL13mYuja9Yst2YQlbxjYO5ZQ125L7LyfG_7pvGn-s,4052
3
+ xenfra/dockerizer.py,sha256=3lbzEwYABDZydASs0pDWfm18o2OBgWVpH3GmId6YLSA,4026
4
4
  xenfra/engine.py,sha256=wIlVC9krILGY2xmp5CFBPyNsI2ugy1e4cR9YruYLNzI,10636
5
5
  xenfra/recipes.py,sha256=rf6dqrbc9P-LPMDQMt2iL100kVMhbWJRgfGYKJ5gqBQ,3780
6
6
  xenfra/utils.py,sha256=aGXjJm-pwVCHuCn5UBdrxRcYvM8aJwHQ1kihl7gcxiM,2387
7
- xenfra-0.1.2.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
8
- xenfra-0.1.2.dist-info/entry_points.txt,sha256=pLGDlV0SH2hWunZJcEY7UkLLleMExFBaxgxRKYhU9mw,44
9
- xenfra-0.1.2.dist-info/METADATA,sha256=uk13m54fFRVk-t34Rl2mv54Ya0Lm6hgE-Q07IH_mdV4,4222
10
- xenfra-0.1.2.dist-info/RECORD,,
7
+ xenfra-0.1.3.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
8
+ xenfra-0.1.3.dist-info/entry_points.txt,sha256=pLGDlV0SH2hWunZJcEY7UkLLleMExFBaxgxRKYhU9mw,44
9
+ xenfra-0.1.3.dist-info/METADATA,sha256=pZocqRSBWR9Jg5H2-6jSu40t35H2guHZXDfZ11y8LcE,4222
10
+ xenfra-0.1.3.dist-info/RECORD,,
File without changes