devnomads 0.1.2__tar.gz → 0.1.3__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.
- {devnomads-0.1.2 → devnomads-0.1.3}/PKG-INFO +1 -1
- {devnomads-0.1.2 → devnomads-0.1.3}/pyproject.toml +1 -1
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/__init__.py +8 -1
- {devnomads-0.1.2 → devnomads-0.1.3}/uv.lock +1 -1
- {devnomads-0.1.2 → devnomads-0.1.3}/.flake8 +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/.gitignore +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/.gitlab-ci.yml +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/README.md +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/__init__.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/challenge_server.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/client.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/dns01.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/errors.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/http01.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/keys.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/verify.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/__init__.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/client.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/credentials.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/errors.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/__init__.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/errors.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/names.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/zones.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/py.typed +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/conftest.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_challenges.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_client.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_keys.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_client.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_credentials.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_dns.py +0 -0
- {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_names.py +0 -0
|
@@ -12,6 +12,13 @@ Three layers, smallest dependency footprint first:
|
|
|
12
12
|
|
|
13
13
|
from __future__ import annotations
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
16
|
+
|
|
17
|
+
try:
|
|
18
|
+
# Single source of truth: the installed distribution version, set from
|
|
19
|
+
# pyproject at build time. Avoids a second version string drifting.
|
|
20
|
+
__version__ = version("devnomads")
|
|
21
|
+
except PackageNotFoundError: # running from a source tree without install
|
|
22
|
+
__version__ = "0.0.0+unknown"
|
|
16
23
|
|
|
17
24
|
__all__ = ["__version__"]
|
|
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
|
|
File without changes
|