solstone-core-unsupported-platform 1.0.14__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.
- solstone_core_unsupported_platform-1.0.14/PKG-INFO +3 -0
- solstone_core_unsupported_platform-1.0.14/pyproject.toml +6 -0
- solstone_core_unsupported_platform-1.0.14/setup.cfg +4 -0
- solstone_core_unsupported_platform-1.0.14/setup.py +36 -0
- solstone_core_unsupported_platform-1.0.14/solstone_core_unsupported_platform.egg-info/PKG-INFO +3 -0
- solstone_core_unsupported_platform-1.0.14/solstone_core_unsupported_platform.egg-info/SOURCES.txt +6 -0
- solstone_core_unsupported_platform-1.0.14/solstone_core_unsupported_platform.egg-info/dependency_links.txt +1 -0
- solstone_core_unsupported_platform-1.0.14/solstone_core_unsupported_platform.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
# Copyright (c) 2026 sol pbc
|
|
3
|
+
"""Build-fails tombstone for unsupported native solstone-core platforms.
|
|
4
|
+
|
|
5
|
+
The root solstone package depends on solstone-core for every platform where the
|
|
6
|
+
native binaries are published. Unsupported platforms receive this package
|
|
7
|
+
instead so installation cannot appear successful without a working `sol`.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import os
|
|
11
|
+
import sys
|
|
12
|
+
|
|
13
|
+
from setuptools import setup
|
|
14
|
+
|
|
15
|
+
TOMBSTONE_VERSION = "1.0.14"
|
|
16
|
+
ALLOW_BUILD_ENV = "SOLSTONE_CORE_UNSUPPORTED_PLATFORM_TOMBSTONE_ALLOW_BUILD"
|
|
17
|
+
|
|
18
|
+
UNSUPPORTED_PLATFORM_MESSAGE = """solstone requires a native solstone-core wheel for this platform.
|
|
19
|
+
|
|
20
|
+
Supported platform triples:
|
|
21
|
+
x86_64-unknown-linux-musl
|
|
22
|
+
aarch64-unknown-linux-musl
|
|
23
|
+
aarch64-apple-darwin
|
|
24
|
+
|
|
25
|
+
A nominally successful install without a working `sol` is impossible.
|
|
26
|
+
|
|
27
|
+
Nothing was changed by this failed command.
|
|
28
|
+
See https://github.com/solpbc/solstone-journal/blob/main/INSTALL.md
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
if os.environ.get(ALLOW_BUILD_ENV) != "1":
|
|
33
|
+
sys.stderr.write(UNSUPPORTED_PLATFORM_MESSAGE)
|
|
34
|
+
raise SystemExit(1)
|
|
35
|
+
|
|
36
|
+
setup(name="solstone-core-unsupported-platform", version=TOMBSTONE_VERSION)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|