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.
Files changed (39) hide show
  1. {pyven-98 → pyven-99}/PKG-INFO +1 -1
  2. {pyven-98 → pyven-99}/pyven/checks.py +6 -7
  3. {pyven-98 → pyven-99}/pyven.egg-info/PKG-INFO +1 -1
  4. {pyven-98 → pyven-99}/setup.py +1 -1
  5. {pyven-98 → pyven-99}/README.md +0 -0
  6. {pyven-98 → pyven-99}/pyven/README.md.aridt +0 -0
  7. {pyven-98 → pyven-99}/pyven/__init__.py +0 -0
  8. {pyven-98 → pyven-99}/pyven/bdist.py +0 -0
  9. {pyven-98 → pyven-99}/pyven/divcheck.py +0 -0
  10. {pyven-98 → pyven-99}/pyven/drmake.py +0 -0
  11. {pyven-98 → pyven-99}/pyven/execcheck.py +0 -0
  12. {pyven-98 → pyven-99}/pyven/files.py +0 -0
  13. {pyven-98 → pyven-99}/pyven/functions.py +0 -0
  14. {pyven-98 → pyven-99}/pyven/launch.py +0 -0
  15. {pyven-98 → pyven-99}/pyven/licheck.py +0 -0
  16. {pyven-98 → pyven-99}/pyven/mainmodules.py +0 -0
  17. {pyven-98 → pyven-99}/pyven/minreqs.py +0 -0
  18. {pyven-98 → pyven-99}/pyven/nlcheck.py +0 -0
  19. {pyven-98 → pyven-99}/pyven/patchpolicy.py +0 -0
  20. {pyven-98 → pyven-99}/pyven/pipify.py +0 -0
  21. {pyven-98 → pyven-99}/pyven/projectinfo.arid +0 -0
  22. {pyven-98 → pyven-99}/pyven/projectinfo.py +0 -0
  23. {pyven-98 → pyven-99}/pyven/pyproject.toml.aridt +0 -0
  24. {pyven-98 → pyven-99}/pyven/release.arid +0 -0
  25. {pyven-98 → pyven-99}/pyven/release.py +0 -0
  26. {pyven-98 → pyven-99}/pyven/setup.cfg.aridt +0 -0
  27. {pyven-98 → pyven-99}/pyven/setup.py.aridt +0 -0
  28. {pyven-98 → pyven-99}/pyven/setuptools.arid +0 -0
  29. {pyven-98 → pyven-99}/pyven/sourceinfo.py +0 -0
  30. {pyven-98 → pyven-99}/pyven/tasks.py +0 -0
  31. {pyven-98 → pyven-99}/pyven/tests/__init__.py +0 -0
  32. {pyven-98 → pyven-99}/pyven/tryinstall.py +0 -0
  33. {pyven-98 → pyven-99}/pyven/util.py +0 -0
  34. {pyven-98 → pyven-99}/pyven.egg-info/SOURCES.txt +0 -0
  35. {pyven-98 → pyven-99}/pyven.egg-info/dependency_links.txt +0 -0
  36. {pyven-98 → pyven-99}/pyven.egg-info/entry_points.txt +0 -0
  37. {pyven-98 → pyven-99}/pyven.egg-info/requires.txt +0 -0
  38. {pyven-98 → pyven-99}/pyven.egg-info/top_level.txt +0 -0
  39. {pyven-98 → pyven-99}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 98
3
+ Version: 99
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
@@ -225,22 +225,21 @@ class Container:
225
225
 
226
226
  def inituser(self):
227
227
  from lagoon import docker
228
- docker('exec', self.container, 'groupadd', '-g', os.stat('/var/run/docker.sock').st_gid, 'docker', stdout = None)
229
- docker('exec', self.container, 'groupadd', '-g', self.gid, 'pyvengroup', stdout = None)
230
- docker('exec', self.container, 'useradd', '-g', self.gid, '-G', 'docker', '-u', self.uid, '-m', 'pyvenuser', stdout = None)
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]('exec', self.container, stdout = None))
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
- docker('exec', '-w', self.workdir, self.container, 'pip', 'install', *args, stdout = None)
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('exec', '-w', self.workdir, self.container, *([] if root else ['sudo', '-u', 'pyvenuser']) + args, stdout = None, check = check)
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyven
3
- Version: 98
3
+ Version: 99
4
4
  Summary: Manage development of multiple Python projects
5
5
  Home-page: https://pypi.org/project/pyven/
6
6
  Author: Homsar
@@ -44,7 +44,7 @@ class SourceInfo:
44
44
  sourceinfo = SourceInfo('.')
45
45
  setup(
46
46
  name = 'pyven',
47
- version = '98',
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',
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