pyven 98__tar.gz → 99__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-98 → pyven-99}/PKG-INFO +1 -1
- {pyven-98 → pyven-99}/pyven/checks.py +6 -7
- {pyven-98 → pyven-99}/pyven.egg-info/PKG-INFO +1 -1
- {pyven-98 → pyven-99}/setup.py +1 -1
- {pyven-98 → pyven-99}/README.md +0 -0
- {pyven-98 → pyven-99}/pyven/README.md.aridt +0 -0
- {pyven-98 → pyven-99}/pyven/__init__.py +0 -0
- {pyven-98 → pyven-99}/pyven/bdist.py +0 -0
- {pyven-98 → pyven-99}/pyven/divcheck.py +0 -0
- {pyven-98 → pyven-99}/pyven/drmake.py +0 -0
- {pyven-98 → pyven-99}/pyven/execcheck.py +0 -0
- {pyven-98 → pyven-99}/pyven/files.py +0 -0
- {pyven-98 → pyven-99}/pyven/functions.py +0 -0
- {pyven-98 → pyven-99}/pyven/launch.py +0 -0
- {pyven-98 → pyven-99}/pyven/licheck.py +0 -0
- {pyven-98 → pyven-99}/pyven/mainmodules.py +0 -0
- {pyven-98 → pyven-99}/pyven/minreqs.py +0 -0
- {pyven-98 → pyven-99}/pyven/nlcheck.py +0 -0
- {pyven-98 → pyven-99}/pyven/patchpolicy.py +0 -0
- {pyven-98 → pyven-99}/pyven/pipify.py +0 -0
- {pyven-98 → pyven-99}/pyven/projectinfo.arid +0 -0
- {pyven-98 → pyven-99}/pyven/projectinfo.py +0 -0
- {pyven-98 → pyven-99}/pyven/pyproject.toml.aridt +0 -0
- {pyven-98 → pyven-99}/pyven/release.arid +0 -0
- {pyven-98 → pyven-99}/pyven/release.py +0 -0
- {pyven-98 → pyven-99}/pyven/setup.cfg.aridt +0 -0
- {pyven-98 → pyven-99}/pyven/setup.py.aridt +0 -0
- {pyven-98 → pyven-99}/pyven/setuptools.arid +0 -0
- {pyven-98 → pyven-99}/pyven/sourceinfo.py +0 -0
- {pyven-98 → pyven-99}/pyven/tasks.py +0 -0
- {pyven-98 → pyven-99}/pyven/tests/__init__.py +0 -0
- {pyven-98 → pyven-99}/pyven/tryinstall.py +0 -0
- {pyven-98 → pyven-99}/pyven/util.py +0 -0
- {pyven-98 → pyven-99}/pyven.egg-info/SOURCES.txt +0 -0
- {pyven-98 → pyven-99}/pyven.egg-info/dependency_links.txt +0 -0
- {pyven-98 → pyven-99}/pyven.egg-info/entry_points.txt +0 -0
- {pyven-98 → pyven-99}/pyven.egg-info/requires.txt +0 -0
- {pyven-98 → pyven-99}/pyven.egg-info/top_level.txt +0 -0
- {pyven-98 → pyven-99}/setup.cfg +0 -0
{pyven-98 → pyven-99}/PKG-INFO
RENAMED
|
@@ -225,22 +225,21 @@ class Container:
|
|
|
225
225
|
|
|
226
226
|
def inituser(self):
|
|
227
227
|
from lagoon import docker
|
|
228
|
-
docker(
|
|
229
|
-
docker(
|
|
230
|
-
docker(
|
|
228
|
+
docker.exec[print](self.container, 'groupadd', '-g', os.stat('/var/run/docker.sock').st_gid, 'docker')
|
|
229
|
+
docker.exec[print](self.container, 'groupadd', '-g', self.gid, 'pyvengroup')
|
|
230
|
+
docker.exec[print](self.container, 'useradd', '-g', self.gid, '-G', 'docker', '-u', self.uid, '-m', 'pyvenuser')
|
|
231
231
|
|
|
232
232
|
def initapt(self):
|
|
233
233
|
from lagoon import docker
|
|
234
|
-
initapt(docker[partial](
|
|
234
|
+
initapt(docker.exec[partial, print](self.container))
|
|
235
235
|
|
|
236
236
|
def install(self, args):
|
|
237
|
-
from lagoon import docker
|
|
238
237
|
if args:
|
|
239
|
-
|
|
238
|
+
self.call(['pip', 'install', '--user', *args], check = True)
|
|
240
239
|
|
|
241
240
|
def call(self, args, check = False, root = False):
|
|
242
241
|
from lagoon import docker
|
|
243
|
-
return docker('
|
|
242
|
+
return docker.exec[print]('-w', self.workdir, self.container, *[] if root else ['sudo', '-u', 'pyvenuser', 'PATH=/home/pyvenuser/.local/bin:/usr/local/bin:/usr/bin:/bin', 'env'], *args, check = check)
|
|
244
243
|
|
|
245
244
|
def cp(self, src, dest):
|
|
246
245
|
from lagoon import docker
|
{pyven-98 → pyven-99}/setup.py
RENAMED
|
@@ -44,7 +44,7 @@ class SourceInfo:
|
|
|
44
44
|
sourceinfo = SourceInfo('.')
|
|
45
45
|
setup(
|
|
46
46
|
name = 'pyven',
|
|
47
|
-
version = '
|
|
47
|
+
version = '99',
|
|
48
48
|
description = 'Manage development of multiple Python projects',
|
|
49
49
|
long_description = long_description(),
|
|
50
50
|
long_description_content_type = 'text/markdown',
|
{pyven-98 → pyven-99}/README.md
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
{pyven-98 → pyven-99}/setup.cfg
RENAMED
|
File without changes
|