emcd-projects 1.18rc0__tar.gz → 1.22rc0__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.
Files changed (27) hide show
  1. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/.gitignore +3 -0
  2. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/PKG-INFO +3 -3
  3. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/pyproject.toml +4 -3
  4. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/__init__.py +1 -0
  5. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/application.py +2 -1
  6. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/imports.py +0 -4
  7. emcd_projects-1.22rc0/sources/emcdproj/__/nomina.py +32 -0
  8. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/preparation.py +2 -1
  9. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__init__.py +1 -1
  10. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/LICENSE.txt +0 -0
  11. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/data/.gitignore +0 -0
  12. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/data/copier/answers-default.yaml +0 -0
  13. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/data/copier/answers-maximum.yaml +0 -0
  14. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/data/templates/coverage.svg.jinja +0 -0
  15. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/data/templates/website.html.jinja +0 -0
  16. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/README.rst +0 -0
  17. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/distribution.py +0 -0
  18. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__/state.py +0 -0
  19. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/__main__.py +0 -0
  20. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/_typedecls/__builtins__.pyi +0 -0
  21. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/cli.py +0 -0
  22. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/exceptions.py +0 -0
  23. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/filesystem.py +0 -0
  24. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/interfaces.py +0 -0
  25. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/py.typed +0 -0
  26. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/template.py +0 -0
  27. {emcd_projects-1.18rc0 → emcd_projects-1.22rc0}/sources/emcdproj/website.py +0 -0
@@ -1,6 +1,9 @@
1
1
  .env
2
2
  *.so
3
3
  .*.swp
4
+ AGENTS.md
5
+ CLAUDE.md
6
+ CONVENTIONS.md
4
7
  __pycache__/
5
8
  bugs/
6
9
  dist/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: emcd-projects
3
- Version: 1.18rc0
3
+ Version: 1.22rc0
4
4
  Summary: Project management utilities.
5
5
  Project-URL: Homepage, https://github.com/emcd/python-project-common
6
6
  Project-URL: Documentation, https://emcd.github.io/python-project-common
@@ -23,9 +23,9 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
23
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
24
  Classifier: Topic :: Software Development
25
25
  Requires-Python: >=3.10
26
- Requires-Dist: absence
26
+ Requires-Dist: absence~=1.1
27
27
  Requires-Dist: defusedxml
28
- Requires-Dist: frigid
28
+ Requires-Dist: frigid~=3.0
29
29
  Requires-Dist: icecream-truck
30
30
  Requires-Dist: importlib-metadata
31
31
  Requires-Dist: importlib-resources
@@ -16,9 +16,9 @@ readme = { 'file' = 'sources/emcdproj/README.rst', 'content-type' = 'text/x-rst'
16
16
  requires-python = '>= 3.10'
17
17
  dependencies = [
18
18
  'Jinja2',
19
- 'absence',
19
+ 'absence~=1.1',
20
20
  'defusedxml',
21
- 'frigid',
21
+ 'frigid~=3.0',
22
22
  'icecream-truck',
23
23
  'importlib-metadata', # TODO: Drop once we have separate appcore package.
24
24
  'importlib-resources', # TODO: Drop once we have separate appcore package.
@@ -66,6 +66,7 @@ year-of-origin = 2024
66
66
  gha-runners = [
67
67
  '/home/runner/work/python-project-common/python-project-common/',
68
68
  '/Users/runner/work/python-project-common/python-project-common/',
69
+ 'C:\a\python-project-common\python-project-common\',
69
70
  'D:\a\python-project-common\python-project-common\',
70
71
  ]
71
72
  [tool.coverage.run]
@@ -200,7 +201,7 @@ strict = false
200
201
 
201
202
  # https://microsoft.github.io/pyright/#/configuration
202
203
  [tool.pyright]
203
- ignore = [ 'tests' ] # Stronger hint for language server.
204
+ ignore = [ 'documentation', 'tests' ] # Stronger hint for language server.
204
205
  include = [ 'sources' ]
205
206
  reportConstantRedefinition = true
206
207
  reportInvalidTypeVarUse = true
@@ -24,5 +24,6 @@
24
24
  from .application import Information as ApplicationInformation
25
25
  from .distribution import Information as DistributionInformation
26
26
  from .imports import *
27
+ from .nomina import *
27
28
  from .preparation import *
28
29
  from .state import Globals
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
  from . import imports as __
25
+ from . import nomina as _nomina
25
26
 
26
27
 
27
28
  class Information( metaclass = __.ImmutableDataclass ):
@@ -30,7 +31,7 @@ class Information( metaclass = __.ImmutableDataclass ):
30
31
  name: __.typx.Annotated[
31
32
  str,
32
33
  __.typx.Doc( "For derivation of platform directories." ),
33
- ] = __.package_name
34
+ ] = _nomina.package_name
34
35
  publisher: __.typx.Annotated[
35
36
  __.typx.Optional[ str ],
36
37
  __.typx.Doc( "For derivation of platform directories." ),
@@ -55,9 +55,5 @@ from frigid.qaliases import (
55
55
  from platformdirs import PlatformDirs
56
56
 
57
57
 
58
- ComparisonResult: typx.TypeAlias = bool | types.NotImplementedType
59
-
60
-
61
- package_name = __name__.split( '.', maxsplit = 1 )[ 0 ]
62
58
  simple_tyro_class = tyro.conf.configure( )
63
59
  standard_tyro_class = tyro.conf.configure( tyro.conf.OmitArgPrefixes )
@@ -0,0 +1,32 @@
1
+ # vim: set filetype=python fileencoding=utf-8:
2
+ # -*- coding: utf-8 -*-
3
+
4
+ #============================================================================#
5
+ # #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); #
7
+ # you may not use this file except in compliance with the License. #
8
+ # You may obtain a copy of the License at #
9
+ # #
10
+ # http://www.apache.org/licenses/LICENSE-2.0 #
11
+ # #
12
+ # Unless required by applicable law or agreed to in writing, software #
13
+ # distributed under the License is distributed on an "AS IS" BASIS, #
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15
+ # See the License for the specific language governing permissions and #
16
+ # limitations under the License. #
17
+ # #
18
+ #============================================================================#
19
+
20
+
21
+ ''' Common names and type aliases. '''
22
+
23
+
24
+ from . import imports as __
25
+
26
+
27
+ ComparisonResult: __.typx.TypeAlias = bool | __.types.NotImplementedType
28
+ NominativeArguments: __.typx.TypeAlias = __.cabc.Mapping[ str, __.typx.Any ]
29
+ PositionalArguments: __.typx.TypeAlias = __.cabc.Sequence[ __.typx.Any ]
30
+
31
+
32
+ package_name = __name__.split( '.', maxsplit = 1 )[ 0 ]
@@ -27,6 +27,7 @@ from . import application as _application
27
27
  # from . import dictedits as _dictedits
28
28
  from . import distribution as _distribution
29
29
  # from . import environment as _environment
30
+ from . import nomina as _nomina
30
31
  from . import state as _state
31
32
 
32
33
 
@@ -51,7 +52,7 @@ async def prepare(
51
52
  directories = application.produce_platform_directories( )
52
53
  distribution = (
53
54
  await _distribution.Information.prepare(
54
- package = __.package_name, exits = exits ) )
55
+ package = _nomina.package_name, exits = exits ) )
55
56
  # configuration = (
56
57
  # await _configuration.acquire(
57
58
  # application_name = application.name,
@@ -27,7 +27,7 @@ from . import exceptions
27
27
  # --- END: Injected by Copier ---
28
28
 
29
29
 
30
- __version__ = '1.18rc0'
30
+ __version__ = '1.22rc0'
31
31
 
32
32
 
33
33
  def main( ):