aridity 102__tar.gz → 104__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. {aridity-102 → aridity-104}/PKG-INFO +4 -8
  2. {aridity-102 → aridity-104}/aridity/scope.py +6 -2
  3. {aridity-102 → aridity-104}/aridity.egg-info/PKG-INFO +4 -8
  4. {aridity-102 → aridity-104}/aridity.egg-info/SOURCES.txt +1 -0
  5. aridity-104/aridity.egg-info/requires.txt +1 -0
  6. aridity-104/pyproject.toml +18 -0
  7. {aridity-102 → aridity-104}/setup.py +1 -2
  8. aridity-102/aridity.egg-info/requires.txt +0 -1
  9. {aridity-102 → aridity-104}/README.md +0 -0
  10. {aridity-102 → aridity-104}/aridity/__init__.py +0 -0
  11. {aridity-102 → aridity-104}/aridity/arid_config.py +0 -0
  12. {aridity-102 → aridity-104}/aridity/config.py +0 -0
  13. {aridity-102 → aridity-104}/aridity/directives.py +0 -0
  14. {aridity-102 → aridity-104}/aridity/functions.py +0 -0
  15. {aridity-102 → aridity-104}/aridity/grammar.py +0 -0
  16. {aridity-102 → aridity-104}/aridity/keyring.py +0 -0
  17. {aridity-102 → aridity-104}/aridity/model.py +0 -0
  18. {aridity-102 → aridity-104}/aridity/processtemplate.py +0 -0
  19. {aridity-102 → aridity-104}/aridity/repl.py +0 -0
  20. {aridity-102 → aridity-104}/aridity/resolve.py +0 -0
  21. {aridity-102 → aridity-104}/aridity/search.py +0 -0
  22. {aridity-102 → aridity-104}/aridity/stacks.py +0 -0
  23. {aridity-102 → aridity-104}/aridity/util.py +0 -0
  24. {aridity-102 → aridity-104}/aridity.egg-info/dependency_links.txt +0 -0
  25. {aridity-102 → aridity-104}/aridity.egg-info/entry_points.txt +0 -0
  26. {aridity-102 → aridity-104}/aridity.egg-info/top_level.txt +0 -0
  27. {aridity-102 → aridity-104}/setup.cfg +0 -0
@@ -1,19 +1,15 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 102
3
+ Version: 104
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
7
- Author-email: shrovis@foyono.com
7
+ Author-email: foyono <shrovis@foyono.com>
8
+ Requires-Python: >=3.11
8
9
  Description-Content-Type: text/markdown
9
- Requires-Dist: foyndation>=16
10
+ Requires-Dist: foyndation>=19
10
11
  Dynamic: author
11
- Dynamic: author-email
12
- Dynamic: description
13
- Dynamic: description-content-type
14
12
  Dynamic: home-page
15
- Dynamic: requires-dist
16
- Dynamic: summary
17
13
 
18
14
  # aridity
19
15
  DRY config and template system, easily extensible with Python.
@@ -262,8 +262,12 @@ class StaticScope(Scope):
262
262
  threadlocals = self.threadlocals
263
263
  try:
264
264
  return getattr(threadlocals, name)
265
- except AttributeError:
266
- stack = self.stacktypes[name](name)
265
+ except AttributeError as e:
266
+ try:
267
+ stacktype = self.stacktypes[name]
268
+ except KeyError:
269
+ raise e
270
+ stack = stacktype(name)
267
271
  setattr(threadlocals, name, stack)
268
272
  return stack
269
273
 
@@ -1,19 +1,15 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 102
3
+ Version: 104
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
7
- Author-email: shrovis@foyono.com
7
+ Author-email: foyono <shrovis@foyono.com>
8
+ Requires-Python: >=3.11
8
9
  Description-Content-Type: text/markdown
9
- Requires-Dist: foyndation>=16
10
+ Requires-Dist: foyndation>=19
10
11
  Dynamic: author
11
- Dynamic: author-email
12
- Dynamic: description
13
- Dynamic: description-content-type
14
12
  Dynamic: home-page
15
- Dynamic: requires-dist
16
- Dynamic: summary
17
13
 
18
14
  # aridity
19
15
  DRY config and template system, easily extensible with Python.
@@ -1,4 +1,5 @@
1
1
  README.md
2
+ pyproject.toml
2
3
  setup.py
3
4
  aridity/__init__.py
4
5
  aridity/arid_config.py
@@ -0,0 +1 @@
1
+ foyndation>=19
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+
4
+ [project]
5
+ authors = [{name = "foyono", email = "shrovis@foyono.com"}]
6
+ dependencies = [
7
+ "foyndation>=19",
8
+ ]
9
+ description = "DRY config and template system, easily extensible with Python"
10
+ name = "aridity"
11
+ readme = "README.md"
12
+ requires-python = ">=3.11"
13
+ version = "104"
14
+
15
+ [project.scripts]
16
+ aridity = "aridity.__init__:main"
17
+ arid-config = "aridity.arid_config:main"
18
+ processtemplate = "aridity.processtemplate:main"
@@ -49,13 +49,12 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'aridity',
52
- version = '102',
52
+ version = 104,
53
53
  description = 'DRY config and template system, easily extensible with Python',
54
54
  url = 'https://pypi.org/project/aridity/',
55
55
  author = 'foyono',
56
56
  author_email = 'shrovis@foyono.com',
57
57
  py_modules = [],
58
- install_requires = ['foyndation>=16'],
59
58
  package_data = {'': ['*.pxd', '*.pyx', '*.pyxbld', '*.arid', '*.aridt']},
60
59
  entry_points = {'console_scripts': ['aridity=aridity.__init__:main', 'arid-config=aridity.arid_config:main', 'processtemplate=aridity.processtemplate:main']},
61
60
  **sourceinfo.setup_kwargs(),
@@ -1 +0,0 @@
1
- foyndation>=16
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