omdev 0.0.0.dev203__py3-none-any.whl → 0.0.0.dev204__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omdev/.manifests.json +2 -2
- omdev/cexts/cmake.py +12 -4
- omdev/cli/clicli.py +18 -0
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/RECORD +9 -9
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/LICENSE +0 -0
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev203.dist-info → omdev-0.0.0.dev204.dist-info}/top_level.txt +0 -0
omdev/.manifests.json
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
"module": ".cexts.cmake",
|
28
28
|
"attr": "_CLI_MODULE",
|
29
29
|
"file": "omdev/cexts/cmake.py",
|
30
|
-
"line":
|
30
|
+
"line": 331,
|
31
31
|
"value": {
|
32
32
|
"$.cli.types.CliModule": {
|
33
33
|
"cmd_name": "cmake",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"module": ".cli.clicli",
|
52
52
|
"attr": "_CLI_MODULE",
|
53
53
|
"file": "omdev/cli/clicli.py",
|
54
|
-
"line":
|
54
|
+
"line": 156,
|
55
55
|
"value": {
|
56
56
|
"$.cli.types.CliModule": {
|
57
57
|
"cmd_name": "cli",
|
omdev/cexts/cmake.py
CHANGED
@@ -7,14 +7,22 @@ TODO:
|
|
7
7
|
- symlink headers, included src files (hamt_impl, ...)
|
8
8
|
- point / copy output to dst dirs
|
9
9
|
- libs
|
10
|
-
- ..
|
11
|
-
- pybind
|
12
|
-
- catch2?
|
13
|
-
- json? https://github.com/nlohmann/json
|
14
10
|
- FindPackages? FetchContent? built_ext won't have that
|
15
11
|
- move omml git / data retriever stuff into omdev, get just the one header file from git via sha?
|
16
12
|
- support local built pys
|
17
13
|
|
14
|
+
Libs:
|
15
|
+
- py
|
16
|
+
- pybind https://github.com/pybind/pybind11
|
17
|
+
- nanobind https://github.com/wjakob/nanobind
|
18
|
+
- test
|
19
|
+
- catch2 https://github.com/catchorg/Catch2
|
20
|
+
- ut https://github.com/boost-ext/ut
|
21
|
+
- json
|
22
|
+
- nlohmann https://github.com/nlohmann/json
|
23
|
+
- log
|
24
|
+
- spdlog https://github.com/gabime/spdlog
|
25
|
+
|
18
26
|
==
|
19
27
|
|
20
28
|
Done:
|
omdev/cli/clicli.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import inspect
|
2
2
|
import os
|
3
|
+
import subprocess
|
3
4
|
import sys
|
4
5
|
import typing as ta
|
5
6
|
import urllib.parse
|
6
7
|
import urllib.request
|
7
8
|
|
8
9
|
from omlish import __about__
|
10
|
+
from omlish import lang
|
9
11
|
from omlish.argparse import all as ap
|
10
12
|
|
11
13
|
from ..pip import get_root_dists
|
@@ -88,6 +90,22 @@ class CliCli(ap.Cli):
|
|
88
90
|
|
89
91
|
#
|
90
92
|
|
93
|
+
if lang.can_import('pip'):
|
94
|
+
print('Checking pip install')
|
95
|
+
subprocess.check_call([
|
96
|
+
sys.executable,
|
97
|
+
'-m',
|
98
|
+
'pip',
|
99
|
+
'install',
|
100
|
+
'--dry-run',
|
101
|
+
*deps,
|
102
|
+
])
|
103
|
+
print('Pip install check successful')
|
104
|
+
else:
|
105
|
+
print('Pip not present, cannot check install')
|
106
|
+
|
107
|
+
#
|
108
|
+
|
91
109
|
if deps:
|
92
110
|
print('Reinstalling with following additional dependencies:')
|
93
111
|
print('\n'.join(' ' + d for d in deps))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: omdev
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev204
|
4
4
|
Summary: omdev
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Operating System :: POSIX
|
13
13
|
Requires-Python: >=3.12
|
14
14
|
License-File: LICENSE
|
15
|
-
Requires-Dist: omlish==0.0.0.
|
15
|
+
Requires-Dist: omlish==0.0.0.dev204
|
16
16
|
Provides-Extra: all
|
17
17
|
Requires-Dist: black~=24.10; extra == "all"
|
18
18
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
omdev/.manifests.json,sha256=
|
1
|
+
omdev/.manifests.json,sha256=TJ4UHHkpFJ99ixc049nQc4Bru6a-WP1iVL0h5xhEQsA,8812
|
2
2
|
omdev/__about__.py,sha256=n5x-SO70OgbDQFzQ1d7sZDVMsnkQc4PxQZPFaIQFa0E,1281
|
3
3
|
omdev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
omdev/bracepy.py,sha256=I8EdqtDvxzAi3I8TuMEW-RBfwXfqKbwp06CfOdj3L1o,2743
|
@@ -45,7 +45,7 @@ omdev/cache/data/specs.py,sha256=0a9NPJ76Wz69s94KlNbr1Xma3UQ0z2oCAQN7s6uXe4w,249
|
|
45
45
|
omdev/cexts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
omdev/cexts/_boilerplate.cc,sha256=sbpXEgdFrkdzZXgaNWFFNN27fL9TZu6VrwvMY4-nnFM,1726
|
47
47
|
omdev/cexts/build.py,sha256=F3z1-CjDlEM-Gzi5IunKUBO52qdH_pMsFylobTdGJnI,2654
|
48
|
-
omdev/cexts/cmake.py,sha256=
|
48
|
+
omdev/cexts/cmake.py,sha256=x4WtT2OMQqrfdW-ZvE6JnbFDLpvVl6v_4qwqkb0Ks3E,10057
|
49
49
|
omdev/cexts/importhook.py,sha256=4f2nD531oSFQRcSzyOI_yz9ockQQgnEDhha2SQ-yMhk,3562
|
50
50
|
omdev/cexts/magic.py,sha256=MPmdhGANFVRaA3351BSTBrXm214dWXro1RMRHaJ2_O0,126
|
51
51
|
omdev/cexts/scan.py,sha256=KnwWtFgJ-vvsz6GyHVXI-ufPh8UsOCuNYPbwGm5_du4,1677
|
@@ -68,7 +68,7 @@ omdev/cexts/_distutils/compilers/unixccompiler.py,sha256=o1h8QuyupLntv4F21_XjzAZ
|
|
68
68
|
omdev/cli/__init__.py,sha256=V_l6VP1SZMlJbO-8CJwSuO9TThOy2S_oaPepNYgIrbE,37
|
69
69
|
omdev/cli/__main__.py,sha256=mOJpgc07o0r5luQ1DlX4tk2PqZkgmbwPbdzJ3KmtjgQ,138
|
70
70
|
omdev/cli/_pathhack.py,sha256=kxqb2kHap68Lkh8b211rDbcgj06hidBiAKA3f9posyc,2119
|
71
|
-
omdev/cli/clicli.py,sha256=
|
71
|
+
omdev/cli/clicli.py,sha256=UB6K-Hdgi8Y8DP3aXr4wKQfrU-C5iZHScHBC4pZYhmU,3945
|
72
72
|
omdev/cli/install.py,sha256=C-W171YlIHt4Cfok-nWSMbHwWhqF_PFqq2HixFttYx8,4460
|
73
73
|
omdev/cli/main.py,sha256=OY7ir2WWuDUM1Urmh-WdEv7uEhidRRGnE4FNYHaEN3s,7033
|
74
74
|
omdev/cli/managers.py,sha256=BV98_n30Jj63OJrFgRoVZRfICxMLXEZKoEn4rMj9LV4,1160
|
@@ -184,9 +184,9 @@ omdev/tools/json/rendering.py,sha256=tMcjOW5edfozcMSTxxvF7WVTsbYLoe9bCKFh50qyaGw
|
|
184
184
|
omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
185
185
|
omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
|
186
186
|
omdev/tools/pawk/pawk.py,sha256=Eckymn22GfychCQcQi96BFqRo_LmiJ-EPhC8TTUJdB4,11446
|
187
|
-
omdev-0.0.0.
|
188
|
-
omdev-0.0.0.
|
189
|
-
omdev-0.0.0.
|
190
|
-
omdev-0.0.0.
|
191
|
-
omdev-0.0.0.
|
192
|
-
omdev-0.0.0.
|
187
|
+
omdev-0.0.0.dev204.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
188
|
+
omdev-0.0.0.dev204.dist-info/METADATA,sha256=xonF_YAYt18uF6ncqqHydhdDxWsTekhhtOstaY8lbzo,1760
|
189
|
+
omdev-0.0.0.dev204.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
190
|
+
omdev-0.0.0.dev204.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
|
191
|
+
omdev-0.0.0.dev204.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
|
192
|
+
omdev-0.0.0.dev204.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|