pyontoenv 0.5.0a2__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.
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.3
2
+ Name: pyontoenv
3
+ Version: 0.5.0a2
4
+ Summary: Compatibility wrapper that installs the ontoenv package.
5
+ Author: Gabe Fierro
6
+ Author-email: Gabe Fierro <gtfierro@mines.edu>
7
+ License: BSD-3-Clause
8
+ Requires-Dist: ontoenv
9
+ Requires-Python: >=3.11
10
+ Project-URL: Homepage, https://github.com/gtfierro/ontoenv-rs
11
+ Project-URL: Issues, https://github.com/gtfierro/ontoenv-rs/issues
12
+ Project-URL: Repository, https://github.com/gtfierro/ontoenv-rs
13
+ Description-Content-Type: text/markdown
14
+
15
+ # pyontoenv compatibility package
16
+
17
+ This is a lightweight wrapper that depends on the main `ontoenv` wheel and re-exports its public API so that existing `pip install pyontoenv` workflows continue to function.
18
+
19
+ It contains no additional functionality beyond importing `ontoenv`.
@@ -0,0 +1,5 @@
1
+ # pyontoenv compatibility package
2
+
3
+ This is a lightweight wrapper that depends on the main `ontoenv` wheel and re-exports its public API so that existing `pip install pyontoenv` workflows continue to function.
4
+
5
+ It contains no additional functionality beyond importing `ontoenv`.
@@ -0,0 +1,23 @@
1
+ [project]
2
+ name = "pyontoenv"
3
+ version = "0.5.0a2"
4
+ description = "Compatibility wrapper that installs the ontoenv package."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = { text = "BSD-3-Clause" }
8
+ authors = [
9
+ { name = "Gabe Fierro", email = "gtfierro@mines.edu" },
10
+ ]
11
+ dependencies = ["ontoenv"]
12
+
13
+ [project.urls]
14
+ Homepage = "https://github.com/gtfierro/ontoenv-rs"
15
+ Repository = "https://github.com/gtfierro/ontoenv-rs"
16
+ Issues = "https://github.com/gtfierro/ontoenv-rs/issues"
17
+
18
+ [tool.uv.sources]
19
+ ontoenv = { path = "../python", editable = true }
20
+
21
+ [build-system]
22
+ requires = ["uv-build>=0.5.0"]
23
+ build-backend = "uv_build"
@@ -0,0 +1,21 @@
1
+ """Compatibility wrapper that proxies to the real ``ontoenv`` package."""
2
+
3
+ from importlib import import_module
4
+ import sys as _sys
5
+
6
+ _ontoenv = import_module("ontoenv")
7
+
8
+ # Re-export the public surface.
9
+ from ontoenv import * # type: ignore # noqa: F401,F403
10
+
11
+ version = getattr(_ontoenv, "version", None)
12
+ __version__ = version if isinstance(version, str) else getattr(_ontoenv, "__version__", "0.0.0")
13
+
14
+ __all__ = getattr(_ontoenv, "__all__", [])
15
+
16
+ # Ensure version metadata is available via both imports.
17
+ if not hasattr(_ontoenv, "__version__"):
18
+ setattr(_ontoenv, "__version__", __version__)
19
+
20
+ # Ensure importing `pyontoenv` yields the same module object as `ontoenv`.
21
+ _sys.modules[__name__] = _ontoenv