pyven 96__tar.gz → 97__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 (41) hide show
  1. {pyven-96 → pyven-97}/PKG-INFO +2 -2
  2. {pyven-96 → pyven-97}/pyven/README.md.aridt +2 -1
  3. {pyven-96 → pyven-97}/pyven/checks.py +0 -11
  4. {pyven-96 → pyven-97}/pyven/projectinfo.py +3 -3
  5. {pyven-96 → pyven-97}/pyven/tasks.py +1 -1
  6. {pyven-96 → pyven-97}/pyven.egg-info/PKG-INFO +2 -2
  7. {pyven-96 → pyven-97}/pyven.egg-info/requires.txt +1 -1
  8. {pyven-96 → pyven-97}/setup.py +2 -2
  9. {pyven-96 → pyven-97}/README.md +0 -0
  10. {pyven-96 → pyven-97}/pyven/__init__.py +0 -0
  11. {pyven-96 → pyven-97}/pyven/bdist.py +0 -0
  12. {pyven-96 → pyven-97}/pyven/cythonize.py +0 -0
  13. {pyven-96 → pyven-97}/pyven/divcheck.py +0 -0
  14. {pyven-96 → pyven-97}/pyven/drmake.py +0 -0
  15. {pyven-96 → pyven-97}/pyven/execcheck.py +0 -0
  16. {pyven-96 → pyven-97}/pyven/files.py +0 -0
  17. {pyven-96 → pyven-97}/pyven/functions.py +0 -0
  18. {pyven-96 → pyven-97}/pyven/launch.py +0 -0
  19. {pyven-96 → pyven-97}/pyven/licheck.py +0 -0
  20. {pyven-96 → pyven-97}/pyven/mainmodules.py +0 -0
  21. {pyven-96 → pyven-97}/pyven/minreqs.py +0 -0
  22. {pyven-96 → pyven-97}/pyven/nlcheck.py +0 -0
  23. {pyven-96 → pyven-97}/pyven/patchpolicy.py +0 -0
  24. {pyven-96 → pyven-97}/pyven/pipify.py +0 -0
  25. {pyven-96 → pyven-97}/pyven/projectinfo.arid +0 -0
  26. {pyven-96 → pyven-97}/pyven/pyproject.toml.aridt +0 -0
  27. {pyven-96 → pyven-97}/pyven/release.arid +0 -0
  28. {pyven-96 → pyven-97}/pyven/release.py +0 -0
  29. {pyven-96 → pyven-97}/pyven/setup-native.py.aridt +0 -0
  30. {pyven-96 → pyven-97}/pyven/setup.cfg.aridt +0 -0
  31. {pyven-96 → pyven-97}/pyven/setup.py.aridt +0 -0
  32. {pyven-96 → pyven-97}/pyven/setuptools.arid +0 -0
  33. {pyven-96 → pyven-97}/pyven/sourceinfo.py +0 -0
  34. {pyven-96 → pyven-97}/pyven/tests/__init__.py +0 -0
  35. {pyven-96 → pyven-97}/pyven/tryinstall.py +0 -0
  36. {pyven-96 → pyven-97}/pyven/util.py +0 -0
  37. {pyven-96 → pyven-97}/pyven.egg-info/SOURCES.txt +0 -0
  38. {pyven-96 → pyven-97}/pyven.egg-info/dependency_links.txt +0 -0
  39. {pyven-96 → pyven-97}/pyven.egg-info/entry_points.txt +0 -0
  40. {pyven-96 → pyven-97}/pyven.egg-info/top_level.txt +0 -0
  41. {pyven-96 → pyven-97}/setup.cfg +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 96
3
+ Version: 97
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
7
7
  Author-email: shrovis@foyono.com
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: aridity>=67
9
+ Requires-Dist: aridity>=77
10
10
  Requires-Dist: diapyr>=27
11
11
  Requires-Dist: lagoon>=24
12
12
  Requires-Dist: pydoc-markdown>=3.3
@@ -26,4 +26,5 @@ $(doc)])$try($.(
26
26
 
27
27
  ## API
28
28
 
29
- $rmeol$(pydoc)) $.())
29
+ $(pydoc)$hole$.(
30
+ )) $.())
@@ -5,7 +5,6 @@ from .projectinfo import ProjectInfo, SimpleInstallDeps
5
5
  from .util import bgcontainer, Excludes, initapt, pyversiontags, stderr
6
6
  from argparse import ArgumentParser
7
7
  from aridity.config import ConfigCtrl
8
- from aridity.model import Text
9
8
  from aridity.util import NoSuchPathException, openresource
10
9
  from diapyr.util import singleton
11
10
  from itertools import chain
@@ -137,15 +136,6 @@ except AttributeError:
137
136
  for _, o in resolvable.resolve(scope).resolveditems():
138
137
  return o
139
138
  raise NoSuchPathException('Empty set.')
140
- def rmeol(scope, resolvable):
141
- text = resolvable.resolve(scope).cat()
142
- if text.endswith('\r\n'):
143
- n = 2
144
- elif text.endswith(('\r', '\n')):
145
- n = 1
146
- else:
147
- raise NoSuchPathException('No line terminator to remove.')
148
- return Text(text[:-n])
149
139
  def getpydoc(mainmodules):
150
140
  from lagoon import pydoc_markdown
151
141
  with TemporaryDirectory() as pydocparent:
@@ -174,7 +164,6 @@ except AttributeError:
174
164
  return skip
175
165
  config = (-self.info.config).childctrl().node
176
166
  config.first = first
177
- config.rmeol = rmeol
178
167
  if self.info.config.readme_verbose:
179
168
  config.verbose_blank = ''
180
169
  (-config).execute('commands * name = $label()')
@@ -6,7 +6,6 @@ from aridity.model import Entry, Resource
6
6
  from aridity.util import openresource
7
7
  from inspect import getsource
8
8
  from pkg_resources import parse_requirements
9
- from pkg_resources.extern.packaging.markers import UndefinedEnvironmentName
10
9
  from setuphacks import getsetupkwargs
11
10
  from venvpool import ParsedRequires, TemporaryDirectory
12
11
  import logging, os, re, subprocess, venvpool
@@ -89,8 +88,9 @@ class Req:
89
88
  if marker is None or marker.evaluate():
90
89
  assert not self.parsed.extras # Not supported.
91
90
  return True
92
- except UndefinedEnvironmentName:
93
- pass
91
+ except ValueError as e:
92
+ if 'UndefinedEnvironmentName' != type(e).__name__:
93
+ raise
94
94
 
95
95
  def keyversion(self):
96
96
  s, = self.specifierset
@@ -10,7 +10,7 @@ def main():
10
10
  root, = subprocess.check_output(['git', 'rev-parse', '--show-toplevel']).decode().splitlines()
11
11
  agcommand = ['ag', '--noheading', '--nobreak']
12
12
  # XXX: Integrate with declared project resource types?
13
- paths = list(Files.relpaths(root, ['.py', '.pyx', '.h', '.cpp', '.ui', '.java', '.kt', '.c', '.s', '.sh', '.arid', '.aridt', '.gradle', '.java', '.mk'], ['Dockerfile', 'Makefile']))
13
+ paths = list(Files.relpaths(root, ['.py', '.pyx', '.h', '.cpp', '.ui', '.java', '.kt', '.c', '.s', '.sh', '.arid', '.aridt', '.gradle', '.java', '.mk', '.js'], ['Dockerfile', 'Makefile']))
14
14
  for tag in ['XX''X', 'TO''DO', 'FIX''ME'][config.q:]:
15
15
  subprocess.call(agcommand + [tag + ' LATER'] + paths, cwd = root)
16
16
  subprocess.call(agcommand + [tag + '(?! LATER)'] + paths, cwd = root)
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 96
3
+ Version: 97
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
7
7
  Author-email: shrovis@foyono.com
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: aridity>=67
9
+ Requires-Dist: aridity>=77
10
10
  Requires-Dist: diapyr>=27
11
11
  Requires-Dist: lagoon>=24
12
12
  Requires-Dist: pydoc-markdown>=3.3
@@ -1,4 +1,4 @@
1
- aridity>=67
1
+ aridity>=77
2
2
  diapyr>=27
3
3
  lagoon>=24
4
4
  pydoc-markdown>=3.3
@@ -6,7 +6,7 @@ def long_description():
6
6
 
7
7
  setup(
8
8
  name = 'pyven',
9
- version = '96',
9
+ version = '97',
10
10
  description = 'Manage development of multiple Python projects',
11
11
  long_description = long_description(),
12
12
  long_description_content_type = 'text/markdown',
@@ -15,7 +15,7 @@ setup(
15
15
  author_email = 'shrovis@foyono.com',
16
16
  packages = find_packages(),
17
17
  py_modules = [],
18
- install_requires = ['aridity>=67', 'diapyr>=27', 'lagoon>=24', 'pydoc-markdown>=3.3', 'setuptools>=44.1.1', 'twine>=1.15.0', 'venvpool>=14'],
18
+ install_requires = ['aridity>=77', 'diapyr>=27', 'lagoon>=24', 'pydoc-markdown>=3.3', 'setuptools>=44.1.1', 'twine>=1.15.0', 'venvpool>=14'],
19
19
  package_data = {'': ['*.pxd', '*.pyx', '*.pyxbld', '*.arid', '*.aridt']},
20
20
  entry_points = {'console_scripts': ['drmake=pyven.drmake:main', 'launch=pyven.launch:main', 'minreqs=pyven.minreqs:main', 'pipify=pyven.pipify:main', 'release=pyven.release:main', 'tasks=pyven.tasks:main', 'tryinstall=pyven.tryinstall:main', 'tests=pyven.tests.__init__:main']},
21
21
  )
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