omdev 0.0.0.dev20__tar.gz → 0.0.0.dev22__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.
Potentially problematic release.
This version of omdev might be problematic. Click here for more details.
- {omdev-0.0.0.dev20/omdev.egg-info → omdev-0.0.0.dev22}/PKG-INFO +2 -2
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/cli.py +7 -2
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/configs.py +1 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/pkg.py +1 -1
- {omdev-0.0.0.dev20/omdev/tools → omdev-0.0.0.dev22/omdev}/revisions.py +1 -1
- omdev-0.0.0.dev22/omdev/scripts/__init__.py +1 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/scripts/pyproject.py +13 -5
- omdev-0.0.0.dev22/omdev/tools/__init__.py +1 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22/omdev.egg-info}/PKG-INFO +2 -2
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev.egg-info/SOURCES.txt +1 -1
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev.egg-info/requires.txt +1 -1
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/pyproject.toml +2 -2
- omdev-0.0.0.dev20/omdev/scripts/__init__.py +0 -0
- omdev-0.0.0.dev20/omdev/tools/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/LICENSE +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/MANIFEST.in +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/README.rst +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/__about__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/amalg/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/amalg/__main__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/amalg/amalg.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/bracepy.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/build_ext.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/compilers/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/compilers/ccompiler.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/compilers/options.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/compilers/unixccompiler.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/dir_util.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/errors.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/extension.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/file_util.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/modified.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/spawn.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/sysconfig.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/util.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/_distutils/version.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/build.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/cmake.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/importhook.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/magic.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cexts/scan.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/classdot.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/cmake.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/findimports.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/findmagic.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/__main__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/cli.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/inspect.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/providers.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/pyenv.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/resolvers.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/standalone.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/system.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/interp/types.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/mypy/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/mypy/debug.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/precheck/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/precheck/__main__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/precheck/precheck.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/__main__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/cexts.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/pyproject/reqs.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/scripts/bumpversion.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/scripts/execrss.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/scripts/interp.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tokens.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/toml/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/toml/parser.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/toml/writer.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tools/dockertools.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tools/gittools.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tools/rst.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tools/sqlrepl.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/tools/traceimport.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/versioning/__init__.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/versioning/specifiers.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/versioning/versions.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev/wheelfile.py +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev.egg-info/dependency_links.txt +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/omdev.egg-info/top_level.txt +0 -0
- {omdev-0.0.0.dev20 → omdev-0.0.0.dev22}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: omdev
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev22
|
|
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.dev22
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
|
18
18
|
Requires-Dist: cffi~=1.17; extra == "all"
|
|
@@ -143,6 +143,7 @@ class Venv:
|
|
|
143
143
|
subprocess_check_call(ie, '-m', 'venv', dn)
|
|
144
144
|
|
|
145
145
|
ve = self.exe()
|
|
146
|
+
uv = self._cfg.use_uv
|
|
146
147
|
|
|
147
148
|
subprocess_check_call(
|
|
148
149
|
ve,
|
|
@@ -151,6 +152,7 @@ class Venv:
|
|
|
151
152
|
'pip',
|
|
152
153
|
'setuptools',
|
|
153
154
|
'wheel',
|
|
155
|
+
*(['uv'] if uv else []),
|
|
154
156
|
)
|
|
155
157
|
|
|
156
158
|
if (sr := self._cfg.requires):
|
|
@@ -158,8 +160,11 @@ class Venv:
|
|
|
158
160
|
reqs = [rr.rewrite(req) for req in sr]
|
|
159
161
|
subprocess_check_call(
|
|
160
162
|
ve,
|
|
161
|
-
'-m',
|
|
162
|
-
'
|
|
163
|
+
'-m',
|
|
164
|
+
*(['uv'] if uv else []),
|
|
165
|
+
'pip',
|
|
166
|
+
'install',
|
|
167
|
+
*([] if uv else ['-v']),
|
|
163
168
|
*reqs,
|
|
164
169
|
)
|
|
165
170
|
|
|
@@ -40,8 +40,8 @@ from omlish.lite.logs import log
|
|
|
40
40
|
|
|
41
41
|
from ..cexts.magic import CextMagic
|
|
42
42
|
from ..findmagic import find_magic
|
|
43
|
+
from ..revisions import GitRevisionAdder
|
|
43
44
|
from ..toml.writer import TomlWriter
|
|
44
|
-
from ..tools.revisions import GitRevisionAdder
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
#
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Depless, self-contained scripts with no reason to be imported from any other module."""
|
|
@@ -2819,8 +2819,10 @@ _OBJ_MARSHALER_GENERIC_MAPPING_TYPES: ta.Dict[ta.Any, type] = {
|
|
|
2819
2819
|
|
|
2820
2820
|
_OBJ_MARSHALER_GENERIC_ITERABLE_TYPES: ta.Dict[ta.Any, type] = {
|
|
2821
2821
|
**{t: t for t in (list, tuple, set, frozenset)},
|
|
2822
|
-
|
|
2823
|
-
|
|
2822
|
+
collections.abc.Set: frozenset,
|
|
2823
|
+
collections.abc.MutableSet: set,
|
|
2824
|
+
collections.abc.Sequence: tuple,
|
|
2825
|
+
collections.abc.MutableSequence: list,
|
|
2824
2826
|
}
|
|
2825
2827
|
|
|
2826
2828
|
|
|
@@ -3027,6 +3029,7 @@ class VenvConfig:
|
|
|
3027
3029
|
requires: ta.Optional[ta.List[str]] = None
|
|
3028
3030
|
docker: ta.Optional[str] = None
|
|
3029
3031
|
srcs: ta.Optional[ta.List[str]] = None
|
|
3032
|
+
use_uv: ta.Optional[bool] = None
|
|
3030
3033
|
|
|
3031
3034
|
|
|
3032
3035
|
@dc.dataclass(frozen=True)
|
|
@@ -3114,7 +3117,7 @@ class PyprojectConfigPreparer:
|
|
|
3114
3117
|
|
|
3115
3118
|
|
|
3116
3119
|
########################################
|
|
3117
|
-
# ../../
|
|
3120
|
+
# ../../revisions.py
|
|
3118
3121
|
"""
|
|
3119
3122
|
TODO:
|
|
3120
3123
|
- omlish-lite, move to pyproject/
|
|
@@ -4576,6 +4579,7 @@ class Venv:
|
|
|
4576
4579
|
subprocess_check_call(ie, '-m', 'venv', dn)
|
|
4577
4580
|
|
|
4578
4581
|
ve = self.exe()
|
|
4582
|
+
uv = self._cfg.use_uv
|
|
4579
4583
|
|
|
4580
4584
|
subprocess_check_call(
|
|
4581
4585
|
ve,
|
|
@@ -4584,6 +4588,7 @@ class Venv:
|
|
|
4584
4588
|
'pip',
|
|
4585
4589
|
'setuptools',
|
|
4586
4590
|
'wheel',
|
|
4591
|
+
*(['uv'] if uv else []),
|
|
4587
4592
|
)
|
|
4588
4593
|
|
|
4589
4594
|
if (sr := self._cfg.requires):
|
|
@@ -4591,8 +4596,11 @@ class Venv:
|
|
|
4591
4596
|
reqs = [rr.rewrite(req) for req in sr]
|
|
4592
4597
|
subprocess_check_call(
|
|
4593
4598
|
ve,
|
|
4594
|
-
'-m',
|
|
4595
|
-
'
|
|
4599
|
+
'-m',
|
|
4600
|
+
*(['uv'] if uv else []),
|
|
4601
|
+
'pip',
|
|
4602
|
+
'install',
|
|
4603
|
+
*([] if uv else ['-v']),
|
|
4596
4604
|
*reqs,
|
|
4597
4605
|
)
|
|
4598
4606
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Tools with no reason to be imported by any other module. May have deps."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: omdev
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev22
|
|
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.dev22
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
|
18
18
|
Requires-Dist: cffi~=1.17; extra == "all"
|
|
@@ -9,6 +9,7 @@ omdev/classdot.py
|
|
|
9
9
|
omdev/cmake.py
|
|
10
10
|
omdev/findimports.py
|
|
11
11
|
omdev/findmagic.py
|
|
12
|
+
omdev/revisions.py
|
|
12
13
|
omdev/tokens.py
|
|
13
14
|
omdev/wheelfile.py
|
|
14
15
|
omdev.egg-info/PKG-INFO
|
|
@@ -73,7 +74,6 @@ omdev/toml/writer.py
|
|
|
73
74
|
omdev/tools/__init__.py
|
|
74
75
|
omdev/tools/dockertools.py
|
|
75
76
|
omdev/tools/gittools.py
|
|
76
|
-
omdev/tools/revisions.py
|
|
77
77
|
omdev/tools/rst.py
|
|
78
78
|
omdev/tools/sqlrepl.py
|
|
79
79
|
omdev/tools/traceimport.py
|
|
@@ -12,7 +12,7 @@ authors = [
|
|
|
12
12
|
urls = {source = 'https://github.com/wrmsr/omlish'}
|
|
13
13
|
license = {text = 'BSD-3-Clause'}
|
|
14
14
|
requires-python = '~=3.12'
|
|
15
|
-
version = '0.0.0.
|
|
15
|
+
version = '0.0.0.dev22'
|
|
16
16
|
classifiers = [
|
|
17
17
|
'License :: OSI Approved :: BSD License',
|
|
18
18
|
'Development Status :: 2 - Pre-Alpha',
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
]
|
|
23
23
|
description = 'omdev'
|
|
24
24
|
dependencies = [
|
|
25
|
-
'omlish == 0.0.0.
|
|
25
|
+
'omlish == 0.0.0.dev22',
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.optional-dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|