retracesoftware-proxy 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.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.
@@ -109,6 +109,22 @@ def record(options, args):
109
109
  if script.exists():
110
110
  copy2(script, rundir)
111
111
 
112
+ # create a .venv directory in the recording path
113
+ venv_path = path / '.venv'
114
+ venv_path.mkdir(exist_ok=True)
115
+
116
+ # create a pyvenv.cfg file in the .venv directory
117
+ with open(venv_path / 'pyvenv.cfg', 'w') as f:
118
+ f.write(f'home = {sys.executable}\n')
119
+ f.write('include-system-site-packages = false\n')
120
+ f.write(f'version = {sys.version}\n')
121
+
122
+ bindir = venv_path / 'bin'
123
+ bindir.mkdir(exist_ok=True)
124
+
125
+ # create a symlink to the python executable in the .venv directory
126
+ (bindir / 'python').symlink_to(sys.executable)
127
+
112
128
  dump_as_json(path / 'replay.code-workspace', vscode_workspace)
113
129
 
114
130
  with stream.writer(path = path / 'trace.bin',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: retracesoftware_proxy
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  License: Apache-2.0
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: retracesoftware_utils
@@ -1,5 +1,5 @@
1
1
  retracesoftware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- retracesoftware/__main__.py,sha256=legPSoOYPrfnB_t2v5NsdGuoBXjFRd8qub98QRXCtFM,8408
2
+ retracesoftware/__main__.py,sha256=xVt9I-JRiYMZSkhSh5DAaJh-PNevEZWzSByf6AD319U,8971
3
3
  retracesoftware/autoenable.py,sha256=s7dSykM0y3xVqRzrWouGgoed4-lMNRhdA7Gnm1f04NA,1772
4
4
  retracesoftware/config.json,sha256=Cw5YZCfTo8GLmtbTH2LYwST7wNe7925DAwsTtRIGhBE,3817
5
5
  retracesoftware/config.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -36,7 +36,7 @@ retracesoftware/proxy/serializer.py,sha256=S5yhHoP2iYaXBY7Jr8Ei630Z31521x0IO6Deu
36
36
  retracesoftware/proxy/startthread.py,sha256=YKUcOSjA-9_5ZsDHhyP0fXJSP3RWDKV-ajX-I0SI-bU,1270
37
37
  retracesoftware/proxy/stubfactory.py,sha256=fyQtCZnkXvLaTlGcxE0Lx8od09ZOgnPWPn0YvNFfVeQ,6219
38
38
  retracesoftware/proxy/thread.py,sha256=T1ME6DHB8O0xVnX3Rt1lMl7oCJ2Y0aoFT91D76yNICk,3073
39
- retracesoftware_proxy-0.2.2.dist-info/METADATA,sha256=9E93r_IEQYrSzlxOdPbLs7DZ6xZQxF9KAEo-U6MDlNI,226
40
- retracesoftware_proxy-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
41
- retracesoftware_proxy-0.2.2.dist-info/top_level.txt,sha256=hYHsR6txLidmqvjBMITpIHvmJJbmoCAgr76-IpZPRz8,16
42
- retracesoftware_proxy-0.2.2.dist-info/RECORD,,
39
+ retracesoftware_proxy-0.2.3.dist-info/METADATA,sha256=pgzRxv37B4F0dPByQcx7lr0Ruj8X-vp2UEVvk2iUU3k,226
40
+ retracesoftware_proxy-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
41
+ retracesoftware_proxy-0.2.3.dist-info/top_level.txt,sha256=hYHsR6txLidmqvjBMITpIHvmJJbmoCAgr76-IpZPRz8,16
42
+ retracesoftware_proxy-0.2.3.dist-info/RECORD,,