hwcomponents-adc 1.0.0.10__tar.gz → 1.0.12__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.
- {hwcomponents_adc-1.0.0.10/hwcomponents_adc.egg-info → hwcomponents_adc-1.0.12}/PKG-INFO +1 -1
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/_version.py +3 -3
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12/hwcomponents_adc.egg-info}/PKG-INFO +1 -1
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/SOURCES.txt +1 -1
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/pyproject.toml +4 -4
- hwcomponents_adc-1.0.12/setup.py +18 -0
- hwcomponents_adc-1.0.0.10/setup_scm_version.py +0 -18
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/.github/workflows/publish.yaml +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/.gitignore +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/.gitmodules +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/README.md +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/__init__.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/adc_data/adc_list.csv +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/adc_data/citation.bib +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/adc_data/model.yaml +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/energy_correlation.csv +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/headers.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/main.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/model.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/murmannsurvey.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/optimizer.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/update_model.py +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/dependency_links.txt +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/requires.txt +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/top_level.txt +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/license.txt +0 -0
- {hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/setup.cfg +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.0.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 0,
|
|
31
|
+
__version__ = version = '1.0.12'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 0, 12)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g3994ddafa'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=61.0", "wheel", "setuptools-scm>=6.2"]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel", "setuptools-scm>=6.2", "hwcomponents"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -36,6 +36,6 @@ hwcomponents_adc = [
|
|
|
36
36
|
|
|
37
37
|
[tool.setuptools_scm]
|
|
38
38
|
write_to = "hwcomponents_adc/_version.py"
|
|
39
|
-
fallback_version = "1.0
|
|
40
|
-
version_scheme = "
|
|
41
|
-
local_scheme = "
|
|
39
|
+
fallback_version = "1.0"
|
|
40
|
+
version_scheme = "hwcomponents._version_scheme:post_version"
|
|
41
|
+
local_scheme = "hwcomponents._version_scheme:no_local"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Setup.py to ensure hwcomponents._version_scheme is importable during build."""
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
# Add paths to ensure hwcomponents can be imported
|
|
6
|
+
current_dir = Path(__file__).parent.absolute()
|
|
7
|
+
if str(current_dir) not in sys.path:
|
|
8
|
+
sys.path.insert(0, str(current_dir))
|
|
9
|
+
|
|
10
|
+
# Try to find hwcomponents in parent directories (for submodule case)
|
|
11
|
+
parent_dir = current_dir.parent.parent
|
|
12
|
+
hwcomponents_dir = parent_dir / "hwcomponents"
|
|
13
|
+
if hwcomponents_dir.exists() and str(parent_dir) not in sys.path:
|
|
14
|
+
sys.path.insert(0, str(parent_dir))
|
|
15
|
+
|
|
16
|
+
from setuptools import setup
|
|
17
|
+
|
|
18
|
+
setup()
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"""Version scheme for setuptools-scm - creates post-release versions."""
|
|
2
|
-
from setuptools_scm.version import guess_next_version
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def post_version(version):
|
|
6
|
-
"""Create post-release versions instead of dev versions."""
|
|
7
|
-
if version.exact:
|
|
8
|
-
return version.format_with("{tag}").lstrip('v')
|
|
9
|
-
|
|
10
|
-
base = str(version.tag).lstrip('v') if version.tag else (guess_next_version(version) or "1.0")
|
|
11
|
-
distance = version.distance or 0
|
|
12
|
-
|
|
13
|
-
return f"{base}.{distance}" if distance > 0 else base
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def no_local(version):
|
|
17
|
-
"""No local version identifier."""
|
|
18
|
-
return ""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/adc_data/adc_list.csv
RENAMED
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/adc_data/citation.bib
RENAMED
|
File without changes
|
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc/energy_correlation.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/requires.txt
RENAMED
|
File without changes
|
{hwcomponents_adc-1.0.0.10 → hwcomponents_adc-1.0.12}/hwcomponents_adc.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|