pyven 115__tar.gz → 116__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 (38) hide show
  1. {pyven-115 → pyven-116}/PKG-INFO +1 -1
  2. {pyven-115 → pyven-116}/pyven/checks.py +3 -2
  3. {pyven-115 → pyven-116}/pyven/projectinfo.py +3 -3
  4. {pyven-115 → pyven-116}/pyven.egg-info/PKG-INFO +1 -1
  5. {pyven-115 → pyven-116}/setup.py +1 -1
  6. {pyven-115 → pyven-116}/README.md +0 -0
  7. {pyven-115 → pyven-116}/pyven/Dockerfile.aridt +0 -0
  8. {pyven-115 → pyven-116}/pyven/README.md.aridt +0 -0
  9. {pyven-115 → pyven-116}/pyven/__init__.py +0 -0
  10. {pyven-115 → pyven-116}/pyven/bdist.py +0 -0
  11. {pyven-115 → pyven-116}/pyven/container.py +0 -0
  12. {pyven-115 → pyven-116}/pyven/execcheck.py +0 -0
  13. {pyven-115 → pyven-116}/pyven/files.py +0 -0
  14. {pyven-115 → pyven-116}/pyven/functions.py +0 -0
  15. {pyven-115 → pyven-116}/pyven/licheck.py +0 -0
  16. {pyven-115 → pyven-116}/pyven/mainmodules.py +0 -0
  17. {pyven-115 → pyven-116}/pyven/metacheck.py +0 -0
  18. {pyven-115 → pyven-116}/pyven/minreqs.py +0 -0
  19. {pyven-115 → pyven-116}/pyven/nlcheck.py +0 -0
  20. {pyven-115 → pyven-116}/pyven/patchpolicy.py +0 -0
  21. {pyven-115 → pyven-116}/pyven/pipify.py +0 -0
  22. {pyven-115 → pyven-116}/pyven/projectinfo.arid +0 -0
  23. {pyven-115 → pyven-116}/pyven/pyproject.toml.aridt +0 -0
  24. {pyven-115 → pyven-116}/pyven/release.arid +0 -0
  25. {pyven-115 → pyven-116}/pyven/release.py +0 -0
  26. {pyven-115 → pyven-116}/pyven/setup.py.aridt +0 -0
  27. {pyven-115 → pyven-116}/pyven/setuptools.arid +0 -0
  28. {pyven-115 → pyven-116}/pyven/sourceinfo.py +0 -0
  29. {pyven-115 → pyven-116}/pyven/tasks.py +0 -0
  30. {pyven-115 → pyven-116}/pyven/tests/__init__.py +0 -0
  31. {pyven-115 → pyven-116}/pyven/tryinstall.py +0 -0
  32. {pyven-115 → pyven-116}/pyven/util.py +0 -0
  33. {pyven-115 → pyven-116}/pyven.egg-info/SOURCES.txt +0 -0
  34. {pyven-115 → pyven-116}/pyven.egg-info/dependency_links.txt +0 -0
  35. {pyven-115 → pyven-116}/pyven.egg-info/entry_points.txt +0 -0
  36. {pyven-115 → pyven-116}/pyven.egg-info/requires.txt +0 -0
  37. {pyven-115 → pyven-116}/pyven.egg-info/top_level.txt +0 -0
  38. {pyven-115 → pyven-116}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 115
3
+ Version: 116
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
@@ -5,9 +5,10 @@ from .projectinfo import ProjectInfo, SimpleInstallDeps
5
5
  from .util import Excludes, stderr
6
6
  from argparse import ArgumentParser
7
7
  from aridity.config import ConfigCtrl
8
- from aridity.util import NoSuchPathException, openresource
8
+ from aridity.util import NoSuchPathException
9
9
  from foyndation import dotpy, initlogging, singleton
10
10
  from http import HTTPStatus
11
+ from importlib.resources import files
11
12
  from itertools import chain
12
13
  from lagoon.text import diff, pydoc_markdown, tidy
13
14
  from lagoon.url import URL
@@ -191,7 +192,7 @@ class EveryVersion:
191
192
  if self.info.config.pydoc_enabled:
192
193
  cc.w.pydoc = getpydoc(mainmodules)
193
194
  with NamedTemporaryFile('w') as g:
194
- with openresource(__name__, 'README.md.aridt') as f:
195
+ with (files(__spec__.parent) / 'README.md.aridt').open(encoding = 'ascii') as f:
195
196
  cc.processtemplate(f, g)
196
197
  g.flush()
197
198
  completed = diff(g.name, self.info.projectdir / 'README.md', check = False)
@@ -3,8 +3,8 @@ from .files import Files
3
3
  from .util import Seek
4
4
  from aridity.config import ConfigCtrl
5
5
  from aridity.model import Entry, Resource
6
- from aridity.util import openresource
7
6
  from foyndation import dotpy, rmsuffix, solo
7
+ from importlib.resources import files
8
8
  from inspect import getsource
9
9
  from lagoon.program import Program
10
10
  from lagoon.text import git
@@ -106,7 +106,7 @@ class ProjectInfo:
106
106
  return cls._setuptoolsinfo(setupseek.path)
107
107
  log.info('Use uninstallable mode.')
108
108
  projectdir = Seek.seek(realdir, '.git').path.parent
109
- with openresource(__name__, 'setuptools.arid') as f:
109
+ with (files(__spec__.parent) / 'setuptools.arid').open(encoding = 'ascii') as f:
110
110
  info = cls(projectdir, f)
111
111
  info.config.name = os.path.basename(os.path.abspath(projectdir))
112
112
  try:
@@ -117,7 +117,7 @@ class ProjectInfo:
117
117
 
118
118
  @classmethod
119
119
  def _setuptoolsinfo(cls, setuppath):
120
- with openresource(__name__, 'setuptools.arid') as f:
120
+ with (files(__spec__.parent) / 'setuptools.arid').open(encoding = 'ascii') as f:
121
121
  info = cls(setuppath.parent, f)
122
122
  setupkwargs = getsetupkwargs(setuppath, ['name', 'install_requires', 'entry_points'])
123
123
  if 'name' in setupkwargs:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 115
3
+ Version: 116
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
@@ -49,7 +49,7 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'pyven',
52
- version = '115',
52
+ version = '116',
53
53
  description = 'Manage development of multiple Python projects',
54
54
  url = 'https://pypi.org/project/pyven/',
55
55
  author = 'Homsar',
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