dayhoff-tools 1.1.20__tar.gz → 1.1.21__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.
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/PKG-INFO +1 -1
- dayhoff_tools-1.1.21/dayhoff_tools/__init__.py +10 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/cli/utility_commands.py +1 -10
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/pyproject.toml +1 -1
- dayhoff_tools-1.1.20/dayhoff_tools/cli/__init__.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/README.md +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/chemistry/standardizer.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/chemistry/utils.py +0 -0
- {dayhoff_tools-1.1.20/dayhoff_tools → dayhoff_tools-1.1.21/dayhoff_tools/cli}/__init__.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/cli/cloud_commands.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/cli/main.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/cli/swarm_commands.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/base.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/deploy_aws.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/deploy_gcp.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/deploy_utils.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/job_runner.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/processors.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/deployment/swarm.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/embedders.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/fasta.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/file_ops.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/h5.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/gcp.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/gtdb.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/kegg.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/mmseqs.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/structure.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/intake/uniprot.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/logs.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/sqlite.py +0 -0
- {dayhoff_tools-1.1.20 → dayhoff_tools-1.1.21}/dayhoff_tools/warehouse.py +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
import importlib.metadata
|
2
|
+
|
3
|
+
try:
|
4
|
+
# The package name here should match the 'name' field in your pyproject.toml
|
5
|
+
__version__ = importlib.metadata.version("dayhoff-tools")
|
6
|
+
except importlib.metadata.PackageNotFoundError:
|
7
|
+
# This is a fallback for when the package might not be installed (e.g., running from source
|
8
|
+
# without installation, or during development). You can set it to None, "unknown",
|
9
|
+
# or handle it as you see fit.
|
10
|
+
__version__ = "unknown"
|
@@ -465,16 +465,7 @@ def install_dependencies(
|
|
465
465
|
print(f"Running command: {BLUE}{' '.join(pip_install_cmd)}{RESET}")
|
466
466
|
subprocess.run(pip_install_cmd, check=True)
|
467
467
|
|
468
|
-
|
469
|
-
# We use --no-install-project here because the project itself was just installed.
|
470
|
-
# --all-groups will ensure other groups like 'dev' are synced.
|
471
|
-
print("Syncing other dependency groups (e.g., dev)...")
|
472
|
-
sync_cmd = ["uv", "sync", "--all-groups", "--no-install-project"]
|
473
|
-
print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
|
474
|
-
subprocess.run(sync_cmd, check=True)
|
475
|
-
print(
|
476
|
-
"Project installed with 'full' extras and other dependency groups synced successfully."
|
477
|
-
)
|
468
|
+
print("Project installed with 'full' extras successfully.")
|
478
469
|
else:
|
479
470
|
# Original behavior: Sync environment without installing the project
|
480
471
|
print(
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
5
5
|
|
6
6
|
[project]
|
7
7
|
name = "dayhoff-tools"
|
8
|
-
version = "1.1.
|
8
|
+
version = "1.1.21"
|
9
9
|
description = "Common tools for all the repos at Dayhoff Labs"
|
10
10
|
authors = [
|
11
11
|
{name = "Daniel Martin-Alarcon", email = "dma@dayhofflabs.com"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|