dayhoff-tools 1.11.4__py3-none-any.whl → 1.11.6__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.
- dayhoff_tools/cli/utility_commands.py +34 -6
- {dayhoff_tools-1.11.4.dist-info → dayhoff_tools-1.11.6.dist-info}/METADATA +2 -1
- {dayhoff_tools-1.11.4.dist-info → dayhoff_tools-1.11.6.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.11.4.dist-info → dayhoff_tools-1.11.6.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.11.4.dist-info → dayhoff_tools-1.11.6.dist-info}/entry_points.txt +0 -0
|
@@ -544,6 +544,10 @@ def sync_with_toml(
|
|
|
544
544
|
mac_pyproject = mac_uv_dir / "pyproject.toml"
|
|
545
545
|
mac_pyproject.write_text(mac_manifest.read_text())
|
|
546
546
|
|
|
547
|
+
# Copy README.md if it exists (required by some build backends)
|
|
548
|
+
if Path("README.md").exists():
|
|
549
|
+
(mac_uv_dir / "README.md").write_text(Path("README.md").read_text())
|
|
550
|
+
|
|
547
551
|
# Ensure lock matches manifest (in mac temp dir)
|
|
548
552
|
print("Ensuring lock file matches pyproject.mac.toml (Mac devcon)…")
|
|
549
553
|
lock_cmd = ["uv", "lock"]
|
|
@@ -555,12 +559,19 @@ def sync_with_toml(
|
|
|
555
559
|
# Sync into the active environment
|
|
556
560
|
if install_project:
|
|
557
561
|
print(
|
|
558
|
-
"Syncing dependencies into ACTIVE env
|
|
562
|
+
"Syncing dependencies into ACTIVE env (project installed separately)…"
|
|
559
563
|
)
|
|
560
|
-
sync_cmd = [
|
|
564
|
+
sync_cmd = [
|
|
565
|
+
"uv",
|
|
566
|
+
"sync",
|
|
567
|
+
"--all-groups",
|
|
568
|
+
"--no-install-project",
|
|
569
|
+
"--active",
|
|
570
|
+
]
|
|
561
571
|
print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
|
|
562
572
|
subprocess.run(sync_cmd, check=True, cwd=str(mac_uv_dir))
|
|
563
|
-
# Install project from repo root
|
|
573
|
+
# Install project from repo root (where source code actually is)
|
|
574
|
+
print("Installing project with 'full' extras from repo root…")
|
|
564
575
|
pip_install_cmd = ["uv", "pip", "install", "-e", ".[full]"]
|
|
565
576
|
print(f"Running command: {BLUE}{' '.join(pip_install_cmd)}{RESET}")
|
|
566
577
|
subprocess.run(pip_install_cmd, check=True)
|
|
@@ -587,6 +598,10 @@ def sync_with_toml(
|
|
|
587
598
|
aws_pyproject = aws_uv_dir / "pyproject.toml"
|
|
588
599
|
aws_pyproject.write_text(aws_manifest.read_text())
|
|
589
600
|
|
|
601
|
+
# Copy README.md if it exists (required by some build backends)
|
|
602
|
+
if Path("README.md").exists():
|
|
603
|
+
(aws_uv_dir / "README.md").write_text(Path("README.md").read_text())
|
|
604
|
+
|
|
590
605
|
# Ensure lock matches manifest (in aws temp dir)
|
|
591
606
|
print("Ensuring lock file matches pyproject.aws.toml (AWS devcon)…")
|
|
592
607
|
lock_cmd = ["uv", "lock"]
|
|
@@ -598,12 +613,19 @@ def sync_with_toml(
|
|
|
598
613
|
# Sync into the active environment
|
|
599
614
|
if install_project:
|
|
600
615
|
print(
|
|
601
|
-
"Syncing dependencies into ACTIVE env
|
|
616
|
+
"Syncing dependencies into ACTIVE env (project installed separately)…"
|
|
602
617
|
)
|
|
603
|
-
sync_cmd = [
|
|
618
|
+
sync_cmd = [
|
|
619
|
+
"uv",
|
|
620
|
+
"sync",
|
|
621
|
+
"--all-groups",
|
|
622
|
+
"--no-install-project",
|
|
623
|
+
"--active",
|
|
624
|
+
]
|
|
604
625
|
print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
|
|
605
626
|
subprocess.run(sync_cmd, check=True, cwd=str(aws_uv_dir))
|
|
606
|
-
# Install project from repo root
|
|
627
|
+
# Install project from repo root (where source code actually is)
|
|
628
|
+
print("Installing project with 'full' extras from repo root…")
|
|
607
629
|
pip_install_cmd = ["uv", "pip", "install", "-e", ".[full]"]
|
|
608
630
|
print(f"Running command: {BLUE}{' '.join(pip_install_cmd)}{RESET}")
|
|
609
631
|
subprocess.run(pip_install_cmd, check=True)
|
|
@@ -994,6 +1016,9 @@ def update_dependencies(
|
|
|
994
1016
|
if platform == "mac" and mac_manifest.exists():
|
|
995
1017
|
mac_uv_dir.mkdir(parents=True, exist_ok=True)
|
|
996
1018
|
(mac_uv_dir / "pyproject.toml").write_text(mac_manifest.read_text())
|
|
1019
|
+
# Copy README.md if it exists (required by some build backends)
|
|
1020
|
+
if Path("README.md").exists():
|
|
1021
|
+
(mac_uv_dir / "README.md").write_text(Path("README.md").read_text())
|
|
997
1022
|
uv_cwd = str(mac_uv_dir)
|
|
998
1023
|
lock_file_path = mac_uv_dir / "uv.lock"
|
|
999
1024
|
manifest_path_for_constraint = mac_manifest
|
|
@@ -1001,6 +1026,9 @@ def update_dependencies(
|
|
|
1001
1026
|
# AWS platform (default)
|
|
1002
1027
|
aws_uv_dir.mkdir(parents=True, exist_ok=True)
|
|
1003
1028
|
(aws_uv_dir / "pyproject.toml").write_text(aws_manifest.read_text())
|
|
1029
|
+
# Copy README.md if it exists (required by some build backends)
|
|
1030
|
+
if Path("README.md").exists():
|
|
1031
|
+
(aws_uv_dir / "README.md").write_text(Path("README.md").read_text())
|
|
1004
1032
|
uv_cwd = str(aws_uv_dir)
|
|
1005
1033
|
lock_file_path = aws_uv_dir / "uv.lock"
|
|
1006
1034
|
manifest_path_for_constraint = aws_manifest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dayhoff-tools
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.6
|
|
4
4
|
Summary: Common tools for all the repos at Dayhoff Labs
|
|
5
5
|
Author: Daniel Martin-Alarcon
|
|
6
6
|
Author-email: dma@dayhofflabs.com
|
|
@@ -29,6 +29,7 @@ Requires-Dist: pyyaml (>=6.0)
|
|
|
29
29
|
Requires-Dist: questionary (>=2.0.1)
|
|
30
30
|
Requires-Dist: rdkit-pypi (>=2022.9.5) ; extra == "full"
|
|
31
31
|
Requires-Dist: requests (>=2.31.0)
|
|
32
|
+
Requires-Dist: seaborn
|
|
32
33
|
Requires-Dist: sentencepiece (>=0.2.0) ; extra == "embedders"
|
|
33
34
|
Requires-Dist: sentencepiece (>=0.2.0) ; extra == "full"
|
|
34
35
|
Requires-Dist: sqlalchemy (>=2.0.40,<3.0.0) ; extra == "full"
|
|
@@ -12,7 +12,7 @@ dayhoff_tools/cli/engine/shared.py,sha256=Ecx6I1jtzmxQDn3BezKpgpQ4SJeZf4SZjUCLg-
|
|
|
12
12
|
dayhoff_tools/cli/engine/studio_commands.py,sha256=VwTQujz32-uMcYusDRE73SdzRpgvIkv7ZAF4zRv6AzA,30266
|
|
13
13
|
dayhoff_tools/cli/main.py,sha256=Ii5boey--93yGthB_eS2LC7ZR3WHGsJXDHY7uElEtso,6169
|
|
14
14
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
|
15
|
-
dayhoff_tools/cli/utility_commands.py,sha256=
|
|
15
|
+
dayhoff_tools/cli/utility_commands.py,sha256=tU6fv8wnchxj8xuBR6lXI1_3tpyxcDxzqO7zyBXAfoY,44012
|
|
16
16
|
dayhoff_tools/deployment/base.py,sha256=48KE76QlWMeIZJefcBOZVbyChS2V_mgs7IQ31odPV2o,17806
|
|
17
17
|
dayhoff_tools/deployment/deploy_aws.py,sha256=gfqh09hGbz0q3oPqVm0imd_CEjKF2k8moGNRIL26qqE,18614
|
|
18
18
|
dayhoff_tools/deployment/deploy_gcp.py,sha256=xgaOVsUDmP6wSEMYNkm1yRNcVskfdz80qJtCulkBIAM,8860
|
|
@@ -33,7 +33,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
|
|
|
33
33
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
|
34
34
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
35
35
|
dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
|
|
36
|
-
dayhoff_tools-1.11.
|
|
37
|
-
dayhoff_tools-1.11.
|
|
38
|
-
dayhoff_tools-1.11.
|
|
39
|
-
dayhoff_tools-1.11.
|
|
36
|
+
dayhoff_tools-1.11.6.dist-info/METADATA,sha256=4z45zpr5kaL-2WFPAxStOG5hpgm_23EgsyDWW_rUt58,3003
|
|
37
|
+
dayhoff_tools-1.11.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
38
|
+
dayhoff_tools-1.11.6.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
|
39
|
+
dayhoff_tools-1.11.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|