lmod-toolkit 0.0.1__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.
lmod-toolkit/__init__.py
ADDED
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from setuptools_scm.version import ScmVersion, guess_next_version
|
|
2
|
+
import time
|
|
3
|
+
def mk_version( version: ScmVersion ) -> str:
|
|
4
|
+
# setuptools_scm template options
|
|
5
|
+
# see also https://github.com/pypa/setuptools-scm/blob/main/setuptools-scm/src/setuptools_scm/version.py especially "def meta( ... )"
|
|
6
|
+
# '{branch}',
|
|
7
|
+
# '{dirty}',
|
|
8
|
+
# '{distance}',
|
|
9
|
+
# '{node}',
|
|
10
|
+
# '{node_date}',
|
|
11
|
+
# '{time}',
|
|
12
|
+
# SPEACIAL NAMES
|
|
13
|
+
# '{guessed}', #from version.py:format_next_version(...)
|
|
14
|
+
|
|
15
|
+
final = 'unknown'
|
|
16
|
+
if version.exact :
|
|
17
|
+
final = version.format_with( '{tag}' )
|
|
18
|
+
else :
|
|
19
|
+
# unix timestamp as dev qualifier, ensures it's always unique
|
|
20
|
+
# to comply with test.pypi.org requirement to NEVER re-use a version
|
|
21
|
+
fmt_str = '{guessed}.dev' + str(int(time.time()))
|
|
22
|
+
final = version.format_next_version( guess_next_version, fmt_str )
|
|
23
|
+
return final
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lmod_toolkit
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: ACCESS Lmod Toolkit
|
|
5
|
+
Author-email: Andy Loftus <aloftus@illinois.com>, Eric Blau <blau@globus.org>
|
|
6
|
+
Project-URL: Repository, https://github.com/access-ci-org/lmod-toolkit
|
|
7
|
+
Keywords: monitoring,information,gathering,publishing
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: System :: Monitoring
|
|
11
|
+
Requires-Python: ==3.15.*
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# lmod toolkit (LMTK)
|
|
15
|
+
Tools for working with lmod
|
|
16
|
+
|
|
17
|
+
## Project Home
|
|
18
|
+
https://github.com/access-ci-org/lmod-toolkit
|
|
19
|
+
|
|
20
|
+
## Quick Install
|
|
21
|
+
1. ` curl -o lmtk-setup.sh
|
|
22
|
+
https://raw.githubusercontent.com/access-ci-org/lmod-toolkit/refs/heads/main/setup.sh
|
|
23
|
+
`
|
|
24
|
+
1. bash lmtk-setup.sh
|
|
25
|
+
|
|
26
|
+
## Installation Guide
|
|
27
|
+
https://github.com/access-ci-org/lmod-toolkit
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
lmod-toolkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
lmod-toolkit/build_helper.py,sha256=Ko0l47-bM0HbaoV7xPZJj9EK1BuTQO9st5sSlwzx5Sk,891
|
|
3
|
+
lmod-toolkit/lmod_config.py,sha256=39WwEYSGpacGhu4f1IVvLK52yhVjQ7sZfh3Fk4bOs3Y,49
|
|
4
|
+
lmod_toolkit-0.0.1.dist-info/METADATA,sha256=fWxLl8mqbmEtysvvAFLK5D7ltE-2-iMOpNEqhE9GQvM,829
|
|
5
|
+
lmod_toolkit-0.0.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
6
|
+
lmod_toolkit-0.0.1.dist-info/top_level.txt,sha256=5BguW0XrPr4URUX3IOtOp0zbFmGOdOfGuPY3kRjgNXo,13
|
|
7
|
+
lmod_toolkit-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lmod-toolkit
|