aap-utils 0.2.14__tar.gz → 0.2.16__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.
- {aap_utils-0.2.14 → aap_utils-0.2.16}/PKG-INFO +2 -1
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils/cli.py +5 -4
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils.egg-info/PKG-INFO +2 -1
- aap_utils-0.2.16/aap_utils.egg-info/requires.txt +2 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/setup.py +3 -2
- aap_utils-0.2.14/aap_utils.egg-info/requires.txt +0 -1
- {aap_utils-0.2.14 → aap_utils-0.2.16}/README.md +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils/__init__.py +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils/register.py +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils.egg-info/SOURCES.txt +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils.egg-info/dependency_links.txt +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils.egg-info/entry_points.txt +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/aap_utils.egg-info/top_level.txt +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/pyproject.toml +0 -0
- {aap_utils-0.2.14 → aap_utils-0.2.16}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aap_utils
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.16
|
4
4
|
Summary: A Python library for registering an IP address for AAP
|
5
5
|
Author: Minh Dang
|
6
6
|
Author-email: danghoangminh86@gmail.com
|
@@ -8,3 +8,4 @@ Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
9
9
|
Classifier: Operating System :: OS Independent
|
10
10
|
Requires-Dist: requests
|
11
|
+
Requires-Dist: hydra-core
|
@@ -10,8 +10,9 @@ def is_debug_mode():
|
|
10
10
|
|
11
11
|
def extract_default_image():
|
12
12
|
"""Extracts the image name from KERNEL_IMAGE if available and formats it."""
|
13
|
-
kernel_image = os.getenv("KERNEL_IMAGE", "unname/unname_image@sha256:3024")
|
14
|
-
|
13
|
+
kernel_image = os.getenv("KERNEL_IMAGE", "unname/unname_image@sha256:3024")
|
14
|
+
image_part = kernel_image.split("/")[-1]
|
15
|
+
image_name = image_part.split("@")[0].split(":")[0]
|
15
16
|
return format_name(image_name)
|
16
17
|
|
17
18
|
def format_name(name):
|
@@ -92,7 +93,7 @@ def publish_env():
|
|
92
93
|
|
93
94
|
def main():
|
94
95
|
import sys
|
95
|
-
if len(sys.argv) > 2 and sys.argv[1] == "
|
96
|
+
if len(sys.argv) > 2 and sys.argv[1] == "push" and sys.argv[2] == "env":
|
96
97
|
publish_env()
|
97
98
|
else:
|
98
|
-
print("Usage: aap_utils
|
99
|
+
print("Usage: aap_utils push env")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aap_utils
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.16
|
4
4
|
Summary: A Python library for registering an IP address for AAP
|
5
5
|
Author: Minh Dang
|
6
6
|
Author-email: danghoangminh86@gmail.com
|
@@ -8,3 +8,4 @@ Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
9
9
|
Classifier: Operating System :: OS Independent
|
10
10
|
Requires-Dist: requests
|
11
|
+
Requires-Dist: hydra-core
|
@@ -2,13 +2,14 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="aap_utils", # The name of your library
|
5
|
-
version="0.2.
|
5
|
+
version="0.2.16",
|
6
6
|
description="A Python library for registering an IP address for AAP",
|
7
7
|
author="Minh Dang",
|
8
8
|
author_email="danghoangminh86@gmail.com",
|
9
9
|
packages=find_packages(), # Auto-find packages in the directory
|
10
10
|
install_requires=[
|
11
|
-
"requests", # Any external dependencies (e.g., 'requests')
|
11
|
+
"requests", # Any external dependencies (e.g., 'requests')
|
12
|
+
"hydra-core",
|
12
13
|
],
|
13
14
|
entry_points={
|
14
15
|
"console_scripts": [
|
@@ -1 +0,0 @@
|
|
1
|
-
requests
|
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
|