baseshift-tailscale 2.11.0__py3-none-win_amd64.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.
- baseshift_tailscale/__init__.py +33 -0
- baseshift_tailscale/binaries/__init__.py +0 -0
- baseshift_tailscale/binaries/baseshift-dubhub-ts-forwarder-windows-amd64.exe +0 -0
- baseshift_tailscale-2.11.0.dist-info/METADATA +18 -0
- baseshift_tailscale-2.11.0.dist-info/RECORD +8 -0
- baseshift_tailscale-2.11.0.dist-info/WHEEL +5 -0
- baseshift_tailscale-2.11.0.dist-info/licenses/LICENSE +9 -0
- baseshift_tailscale-2.11.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Companion package for the baseshift CLI: Tailscale forwarder binary.
|
|
2
|
+
|
|
3
|
+
This package exists solely to ship the ``baseshift-dubhub-ts-forwarder``
|
|
4
|
+
binary as Python package data so it can be discovered by the main
|
|
5
|
+
``baseshift`` package at runtime.
|
|
6
|
+
|
|
7
|
+
It contains no code logic, no entry points, and no third-party Python
|
|
8
|
+
dependencies. Installing it is equivalent to opting in to Tailscale
|
|
9
|
+
support:
|
|
10
|
+
|
|
11
|
+
pip install baseshift[ts] # extras pull this in
|
|
12
|
+
pip install baseshift-tailscale # or install directly
|
|
13
|
+
|
|
14
|
+
The ``baseshift`` runtime probes for the importability of this module to
|
|
15
|
+
decide whether the Tailscale code path should be exposed (see
|
|
16
|
+
``baseshift/build_config.py:is_tailscale_enabled``). The forwarder binary
|
|
17
|
+
itself is looked up via :func:`binaries_dir` below.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
|
|
22
|
+
__all__ = ["binaries_dir"]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def binaries_dir() -> Path:
|
|
26
|
+
"""Return the directory containing the bundled Tailscale forwarder binary.
|
|
27
|
+
|
|
28
|
+
The directory contains exactly one host-matched binary named
|
|
29
|
+
``baseshift-dubhub-ts-forwarder-<os>-<arch>[.exe]`` for the platform the
|
|
30
|
+
wheel was built for. Callers should not assume any particular file is
|
|
31
|
+
present beyond that.
|
|
32
|
+
"""
|
|
33
|
+
return Path(__file__).parent / "binaries"
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: baseshift-tailscale
|
|
3
|
+
Version: 2.11.0
|
|
4
|
+
Summary: Tailscale forwarder binary for the baseshift CLI (companion package)
|
|
5
|
+
Home-page: https://baseshift.io
|
|
6
|
+
License: BSD 2-Clause License
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Dynamic: license-file
|
|
9
|
+
|
|
10
|
+
# baseshift cli
|
|
11
|
+
|
|
12
|
+
## Instructions for New Version
|
|
13
|
+
1. Update the version in baseshift/version.py
|
|
14
|
+
2. Install the pip packages in requirements.txt
|
|
15
|
+
3. run build_new_version.sh --package=baseshift --all-platforms
|
|
16
|
+
4. run build_new_version.sh --package=baseshift-tailscale --all-platforms
|
|
17
|
+
5. run upload_new_version.sh --package=baseshift and upload_new_version.sh --package=baseshift-tailscale
|
|
18
|
+
6. lookup the pypi cli upload token in 1password when prompted for api token
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
baseshift_tailscale/__init__.py,sha256=xB8Sq6D8fAJaFvzXsmfReaKbAbZJw14ADbDvEgQ1yHI,1236
|
|
2
|
+
baseshift_tailscale/binaries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
baseshift_tailscale/binaries/baseshift-dubhub-ts-forwarder-windows-amd64.exe,sha256=GiGAaqeMlB7i8HtK50on9B5qKE62JCpseqyC_IIQn9g,27944960
|
|
4
|
+
baseshift_tailscale-2.11.0.dist-info/licenses/LICENSE,sha256=WUBNTIVOV5CX1Bv8zVAGr96dbXDmRs9VB0zb_q1ezxw,1330
|
|
5
|
+
baseshift_tailscale-2.11.0.dist-info/METADATA,sha256=8juyyT53diacepPnLe9Rr5uvF1f_WyCs2ks6NQUlwyw,712
|
|
6
|
+
baseshift_tailscale-2.11.0.dist-info/WHEEL,sha256=nFmrlJ592XPLITDksNtvGrtlrlrHW0M8Yg4jaX2ttck,106
|
|
7
|
+
baseshift_tailscale-2.11.0.dist-info/top_level.txt,sha256=bNmUfyf0V04SpIozKCYmzy2N4vYsBoY0TttKz2dD3N4,20
|
|
8
|
+
baseshift_tailscale-2.11.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2018 Sentry (https://sentry.io) and individual contributors.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
5
|
+
|
|
6
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
7
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
8
|
+
|
|
9
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
baseshift_tailscale
|