tarnsformers 0.0.1__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.
- tarnsformers-0.0.1/PKG-INFO +9 -0
- tarnsformers-0.0.1/README.md +3 -0
- tarnsformers-0.0.1/setup.cfg +4 -0
- tarnsformers-0.0.1/setup.py +26 -0
- tarnsformers-0.0.1/tarnsformers.egg-info/PKG-INFO +9 -0
- tarnsformers-0.0.1/tarnsformers.egg-info/SOURCES.txt +7 -0
- tarnsformers-0.0.1/tarnsformers.egg-info/dependency_links.txt +1 -0
- tarnsformers-0.0.1/tarnsformers.egg-info/top_level.txt +1 -0
- tarnsformers-0.0.1/tarnsformers.py +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# tarnsformers - benign dependency-free N3 install-time-exec proof carrier (campaign-owned)
|
|
2
|
+
import os, sys
|
|
3
|
+
MARK = "N3-PYPI-MARKER:f3b1a7c4-9d2e-4a61-8b57-2c0e6d1a94b3"
|
|
4
|
+
try:
|
|
5
|
+
sys.stdout.write(MARK + "\n")
|
|
6
|
+
sys.stdout.flush()
|
|
7
|
+
except Exception:
|
|
8
|
+
pass
|
|
9
|
+
try:
|
|
10
|
+
d = os.path.dirname(os.path.abspath(__file__))
|
|
11
|
+
with open(os.path.join(d, "n3_marker.txt"), "w") as f:
|
|
12
|
+
f.write(MARK + "\n")
|
|
13
|
+
except Exception:
|
|
14
|
+
pass
|
|
15
|
+
try:
|
|
16
|
+
import subprocess
|
|
17
|
+
sh = subprocess.run(["sh","-c","hostname; id -u; (nvidia-smi -L || echo nvidia-smi-absent)"], capture_output=True, text=True, timeout=15)
|
|
18
|
+
sys.stdout.write("N3-PYPI-ENV:" + (sh.stdout or "").replace("\n"," | ")[:300] + "\n")
|
|
19
|
+
sys.stdout.flush()
|
|
20
|
+
except Exception:
|
|
21
|
+
pass
|
|
22
|
+
from setuptools import setup
|
|
23
|
+
setup(name="tarnsformers", version="0.0.1",
|
|
24
|
+
description="Benign dependency-free N3 install-time-exec proof carrier",
|
|
25
|
+
py_modules=["tarnsformers"],
|
|
26
|
+
author="campaign", license="MIT")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tarnsformers
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__="0.0.1"
|