pyven 113__tar.gz → 115__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.
- {pyven-113 → pyven-115}/PKG-INFO +2 -1
- {pyven-113 → pyven-115}/pyven/checks.py +3 -3
- {pyven-113 → pyven-115}/pyven/files.py +1 -1
- {pyven-113 → pyven-115}/pyven/metacheck.py +0 -6
- {pyven-113 → pyven-115}/pyven/minreqs.py +1 -1
- {pyven-113 → pyven-115}/pyven/pipify.py +2 -2
- {pyven-113 → pyven-115}/pyven/projectinfo.py +3 -3
- {pyven-113 → pyven-115}/pyven/release.py +4 -4
- {pyven-113 → pyven-115}/pyven/tryinstall.py +1 -1
- {pyven-113 → pyven-115}/pyven/util.py +3 -3
- {pyven-113 → pyven-115}/pyven.egg-info/PKG-INFO +2 -1
- {pyven-113 → pyven-115}/pyven.egg-info/requires.txt +1 -0
- {pyven-113 → pyven-115}/setup.py +2 -2
- {pyven-113 → pyven-115}/README.md +0 -0
- {pyven-113 → pyven-115}/pyven/Dockerfile.aridt +0 -0
- {pyven-113 → pyven-115}/pyven/README.md.aridt +0 -0
- {pyven-113 → pyven-115}/pyven/__init__.py +0 -0
- {pyven-113 → pyven-115}/pyven/bdist.py +0 -0
- {pyven-113 → pyven-115}/pyven/container.py +0 -0
- {pyven-113 → pyven-115}/pyven/execcheck.py +0 -0
- {pyven-113 → pyven-115}/pyven/functions.py +0 -0
- {pyven-113 → pyven-115}/pyven/licheck.py +0 -0
- {pyven-113 → pyven-115}/pyven/mainmodules.py +0 -0
- {pyven-113 → pyven-115}/pyven/nlcheck.py +0 -0
- {pyven-113 → pyven-115}/pyven/patchpolicy.py +0 -0
- {pyven-113 → pyven-115}/pyven/projectinfo.arid +0 -0
- {pyven-113 → pyven-115}/pyven/pyproject.toml.aridt +0 -0
- {pyven-113 → pyven-115}/pyven/release.arid +0 -0
- {pyven-113 → pyven-115}/pyven/setup.py.aridt +0 -0
- {pyven-113 → pyven-115}/pyven/setuptools.arid +0 -0
- {pyven-113 → pyven-115}/pyven/sourceinfo.py +0 -0
- {pyven-113 → pyven-115}/pyven/tasks.py +0 -0
- {pyven-113 → pyven-115}/pyven/tests/__init__.py +0 -0
- {pyven-113 → pyven-115}/pyven.egg-info/SOURCES.txt +0 -0
- {pyven-113 → pyven-115}/pyven.egg-info/dependency_links.txt +0 -0
- {pyven-113 → pyven-115}/pyven.egg-info/entry_points.txt +0 -0
- {pyven-113 → pyven-115}/pyven.egg-info/top_level.txt +0 -0
- {pyven-113 → pyven-115}/setup.cfg +0 -0
{pyven-113 → pyven-115}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyven
|
|
3
|
-
Version:
|
|
3
|
+
Version: 115
|
|
4
4
|
Summary: Manage development of multiple Python projects
|
|
5
5
|
Home-page: https://pypi.org/project/pyven/
|
|
6
6
|
Author: Homsar
|
|
@@ -8,6 +8,7 @@ Author-email: homsar@foyono.com
|
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
Requires-Dist: aridity>=85
|
|
10
10
|
Requires-Dist: diapyr>=31
|
|
11
|
+
Requires-Dist: foyndation>=10
|
|
11
12
|
Requires-Dist: lagoon>=49
|
|
12
13
|
Requires-Dist: pydoc-markdown>=3.3
|
|
13
14
|
Requires-Dist: roman>=5
|
|
@@ -6,7 +6,7 @@ from .util import Excludes, stderr
|
|
|
6
6
|
from argparse import ArgumentParser
|
|
7
7
|
from aridity.config import ConfigCtrl
|
|
8
8
|
from aridity.util import NoSuchPathException, openresource
|
|
9
|
-
from
|
|
9
|
+
from foyndation import dotpy, initlogging, singleton
|
|
10
10
|
from http import HTTPStatus
|
|
11
11
|
from itertools import chain
|
|
12
12
|
from lagoon.text import diff, pydoc_markdown, tidy
|
|
@@ -15,10 +15,10 @@ from pathlib import Path
|
|
|
15
15
|
from setuptools import find_packages
|
|
16
16
|
from shutil import copy2, copytree, ignore_patterns
|
|
17
17
|
from subprocess import DEVNULL
|
|
18
|
-
from tempfile import NamedTemporaryFile
|
|
18
|
+
from tempfile import NamedTemporaryFile, TemporaryDirectory
|
|
19
19
|
from urllib.error import HTTPError
|
|
20
20
|
from urllib.parse import unquote
|
|
21
|
-
from venvpool import
|
|
21
|
+
from venvpool import Pool
|
|
22
22
|
from xml.sax.saxutils import escape as xml_escape
|
|
23
23
|
import xml.etree.ElementTree as ET, logging, os, re, sys
|
|
24
24
|
|
|
@@ -29,11 +29,5 @@ def metacheck(projectdir, version, dockerenabled):
|
|
|
29
29
|
if not (projectdir / ProjectInfo.projectaridname).exists():
|
|
30
30
|
return skip
|
|
31
31
|
with egginfodir(projectdir, version, dockerenabled) as (tempdir, d):
|
|
32
|
-
p = d / 'requires.txt'
|
|
33
|
-
q = projectdir / p.relative_to(tempdir)
|
|
34
|
-
if p.exists():
|
|
35
|
-
diff[print](p, q)
|
|
36
|
-
else:
|
|
37
|
-
assert not q.exists()
|
|
38
32
|
p = d / 'PKG-INFO'
|
|
39
33
|
diff[print](p, projectdir / p.relative_to(tempdir))
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
from .projectinfo import ProjectInfo, Req, SimpleInstallDeps, toreleasetag
|
|
3
3
|
from argparse import ArgumentParser
|
|
4
4
|
from aridity.config import ConfigCtrl
|
|
5
|
-
from aridity.util import solo
|
|
6
5
|
from diapyr.util import bfs
|
|
7
6
|
from email.parser import Parser
|
|
7
|
+
from foyndation import initlogging, solo
|
|
8
8
|
from itertools import chain
|
|
9
9
|
from lagoon.program import Program
|
|
10
10
|
from lagoon.text import git
|
|
@@ -12,7 +12,7 @@ from pathlib import Path
|
|
|
12
12
|
from pkg_resources import resource_filename
|
|
13
13
|
from shutil import copytree, rmtree
|
|
14
14
|
from tempfile import mkdtemp
|
|
15
|
-
from venvpool import
|
|
15
|
+
from venvpool import Pool
|
|
16
16
|
import logging, os
|
|
17
17
|
|
|
18
18
|
log = logging.getLogger(__name__)
|
|
@@ -3,7 +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
|
|
6
|
+
from aridity.util import openresource
|
|
7
|
+
from foyndation import dotpy, rmsuffix, solo
|
|
7
8
|
from inspect import getsource
|
|
8
9
|
from lagoon.program import Program
|
|
9
10
|
from lagoon.text import git
|
|
@@ -161,8 +162,7 @@ class ProjectInfo:
|
|
|
161
162
|
time.sleep(60)
|
|
162
163
|
|
|
163
164
|
def py_modules(self):
|
|
164
|
-
|
|
165
|
-
return [name[:-len(suffix)] for name in os.listdir(self.projectdir) if name.endswith(suffix) and 'setup.py' != name and not name.startswith('test_')]
|
|
165
|
+
return [stem for name in os.listdir(self.projectdir) if (stem := rmsuffix(name, dotpy)) is not None and 'setup.py' != name and not name.startswith('test_')]
|
|
166
166
|
|
|
167
167
|
def mainmodules(self):
|
|
168
168
|
paths = list(Files.relpaths(self.projectdir, [mainmodules.extension], []))
|
|
@@ -6,17 +6,17 @@ from .projectinfo import ProjectInfo, SimpleInstallDeps, toreleasetag
|
|
|
6
6
|
from .sourceinfo import SourceInfo
|
|
7
7
|
from argparse import ArgumentParser
|
|
8
8
|
from aridity.config import ConfigCtrl
|
|
9
|
-
from
|
|
9
|
+
from foyndation import dotpy, initlogging, singleton, solo
|
|
10
10
|
from itertools import chain
|
|
11
11
|
from lagoon.binary import tidy
|
|
12
12
|
from lagoon.program import NOEOL, partial, Program
|
|
13
13
|
from lagoon.text import docker, git
|
|
14
14
|
from pkg_resources import resource_filename
|
|
15
15
|
from shutil import copy2, copytree, rmtree
|
|
16
|
-
from tempfile import NamedTemporaryFile
|
|
16
|
+
from tempfile import NamedTemporaryFile, TemporaryDirectory
|
|
17
17
|
from urllib.error import HTTPError
|
|
18
18
|
from urllib.request import urlopen
|
|
19
|
-
from venvpool import
|
|
19
|
+
from venvpool import Pip, Pool
|
|
20
20
|
import xml.dom.minidom as dom, logging, os, re, sys, sysconfig
|
|
21
21
|
|
|
22
22
|
log = logging.getLogger(__name__)
|
|
@@ -135,7 +135,7 @@ def _release(config, srcgit, versionno, info):
|
|
|
135
135
|
if releasetag not in copygit.tag.__points_at().splitlines():
|
|
136
136
|
pkginfo, = info.projectdir.glob('*.egg-info/PKG-INFO')
|
|
137
137
|
lines = pkginfo.read_text('utf-8').splitlines(True)
|
|
138
|
-
lines[lines.
|
|
138
|
+
lines[solo(i for i, l in enumerate(lines) if l.startswith('Version: '))] = f"Version: {versionno + 1}.dev0\n"
|
|
139
139
|
pkginfo.write_text(''.join(lines), 'utf-8')
|
|
140
140
|
copygit.add[print](pkginfo)
|
|
141
141
|
copygit.commit[print]('-m', 'release')
|
|
@@ -3,9 +3,9 @@ from .checks import EveryVersion
|
|
|
3
3
|
from .container import bgcontainer, pyimage
|
|
4
4
|
from .projectinfo import ProjectInfo, toreleasetag
|
|
5
5
|
from argparse import ArgumentParser
|
|
6
|
+
from foyndation import initlogging
|
|
6
7
|
from lagoon.text import git
|
|
7
8
|
from roman import fromRoman
|
|
8
|
-
from venvpool import initlogging
|
|
9
9
|
import logging, re
|
|
10
10
|
|
|
11
11
|
log = logging.getLogger(__name__)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from foyndation import rmsuffix
|
|
1
2
|
from pathlib import Path
|
|
2
3
|
import os, re, sys
|
|
3
4
|
|
|
@@ -19,9 +20,8 @@ class Excludes:
|
|
|
19
20
|
yield star.join(re.escape(part) for part in word.split('*'))
|
|
20
21
|
yield sep
|
|
21
22
|
for glob in globs:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
yield concat[:-len(sep)]
|
|
23
|
+
assert (regex := rmsuffix(''.join(components()), sep)) is not None
|
|
24
|
+
yield regex
|
|
25
25
|
self.pattern = re.compile(f"^{'|'.join(disjunction())}$")
|
|
26
26
|
|
|
27
27
|
def __contains__(self, relpath):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyven
|
|
3
|
-
Version:
|
|
3
|
+
Version: 115
|
|
4
4
|
Summary: Manage development of multiple Python projects
|
|
5
5
|
Home-page: https://pypi.org/project/pyven/
|
|
6
6
|
Author: Homsar
|
|
@@ -8,6 +8,7 @@ Author-email: homsar@foyono.com
|
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
Requires-Dist: aridity>=85
|
|
10
10
|
Requires-Dist: diapyr>=31
|
|
11
|
+
Requires-Dist: foyndation>=10
|
|
11
12
|
Requires-Dist: lagoon>=49
|
|
12
13
|
Requires-Dist: pydoc-markdown>=3.3
|
|
13
14
|
Requires-Dist: roman>=5
|
{pyven-113 → pyven-115}/setup.py
RENAMED
|
@@ -49,13 +49,13 @@ class SourceInfo:
|
|
|
49
49
|
sourceinfo = SourceInfo('.')
|
|
50
50
|
setup(
|
|
51
51
|
name = 'pyven',
|
|
52
|
-
version = '
|
|
52
|
+
version = '115',
|
|
53
53
|
description = 'Manage development of multiple Python projects',
|
|
54
54
|
url = 'https://pypi.org/project/pyven/',
|
|
55
55
|
author = 'Homsar',
|
|
56
56
|
author_email = 'homsar@foyono.com',
|
|
57
57
|
py_modules = [],
|
|
58
|
-
install_requires = ['aridity>=85', 'diapyr>=31', 'lagoon>=49', 'pydoc-markdown>=3.3', 'roman>=5', 'setuptools>=44.1.1', 'twine>=1.15.0', 'venvpool>=18'],
|
|
58
|
+
install_requires = ['aridity>=85', 'diapyr>=31', 'foyndation>=10', 'lagoon>=49', 'pydoc-markdown>=3.3', 'roman>=5', 'setuptools>=44.1.1', 'twine>=1.15.0', 'venvpool>=18'],
|
|
59
59
|
package_data = {'': ['*.pxd', '*.pyx', '*.pyxbld', '*.arid', '*.aridt']},
|
|
60
60
|
entry_points = {'console_scripts': ['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']},
|
|
61
61
|
**sourceinfo.setup_kwargs(),
|
|
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
|