pywebexec 1.7.14__py3-none-any.whl → 1.7.16__py3-none-any.whl

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.
pywebexec/__init__.py CHANGED
@@ -2,4 +2,3 @@
2
2
 
3
3
  __author__ = "Franck Jouvanceau"
4
4
 
5
- from .pywebexec import start_gunicorn
pywebexec/pywebexec.py CHANGED
@@ -26,7 +26,7 @@ import struct
26
26
  import subprocess
27
27
  import logging
28
28
  import pyte
29
- from host_ip import get_host_ip
29
+ from . import host_ip
30
30
 
31
31
  if os.environ.get('PYWEBEXEC_LDAP_SERVER'):
32
32
  from ldap3 import Server, Connection, ALL, SIMPLE, SUBTREE, Tls
@@ -365,7 +365,7 @@ def parseargs():
365
365
  COMMAND_STATUS_DIR = f"{os.getcwd()}/{COMMAND_STATUS_DIR}"
366
366
  sys.exit(start_term())
367
367
 
368
- (hostname, ip) = get_host_ip(args.listen)
368
+ (hostname, ip) = host_ip.get_host_ip(args.listen)
369
369
 
370
370
  if args.tokenurl:
371
371
  token = os.environ.get("PYWEBEXEC_TOKEN", token_urlsafe())
@@ -848,9 +848,8 @@ def main():
848
848
  COMMAND_STATUS_DIR = f"{os.getcwd()}/{COMMAND_STATUS_DIR}"
849
849
  check_processes()
850
850
  sys.argv.remove("shareterm")
851
- sys.argv[0] = PYWEBEXEC
852
851
  with open(basef + ".log", "a") as log:
853
- pywebexec = subprocess.Popen([sys.executable] + sys.argv, stdout=log, stderr=log, bufsize=1)
852
+ pywebexec = subprocess.Popen(sys.argv, stdout=log, stderr=log, bufsize=1)
854
853
  print_urls(term_command_id)
855
854
  res = start_term()
856
855
  print("Stopping server")
pywebexec/version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.7.14'
21
- __version_tuple__ = version_tuple = (1, 7, 14)
20
+ __version__ = version = '1.7.16'
21
+ __version_tuple__ = version_tuple = (1, 7, 16)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.7.14
3
+ Version: 1.7.16
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,7 +1,7 @@
1
- pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
1
+ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
2
2
  pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
3
- pywebexec/pywebexec.py,sha256=o4-zyoUILOimEjn0RkmX3vTcpFJ_oCUq1yq5aHa9nrE,32704
4
- pywebexec/version.py,sha256=qWV_ucaLScojfl3C6npvxkuXlgzgmPvX0_JCE50CR64,513
3
+ pywebexec/pywebexec.py,sha256=p8R2BUIhfn84FDg4AYnctzxoLyDGKrt4kFPo70srdzM,32651
4
+ pywebexec/version.py,sha256=WdsVJyJd332VXBIeonNxp-N9uxd6YY3neptgUO8uJGI,513
5
5
  pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
6
6
  pywebexec/static/css/style.css,sha256=fU-_eAk6Xy0L_GbH9rJBkeCFe5M2RYQA99cvRZ3pW9w,7934
7
7
  pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
@@ -36,9 +36,9 @@ pywebexec/static/js/xterm/xterm.js.map,sha256=Y7O2Pb-fIS7Z8AC1D5s04_aiW_Jf1f4mCf
36
36
  pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  pywebexec/templates/index.html,sha256=KSdQYBdzWKP6v0ETZsMO_729aosGBAzJxAss8T5jCto,2953
38
38
  pywebexec/templates/popup.html,sha256=f5m4u8WKpkevL2mQamGqo4_y-rSuLOXGuNsezuUbniY,1508
39
- pywebexec-1.7.14.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
40
- pywebexec-1.7.14.dist-info/METADATA,sha256=VYj9gaYFnR34kXY13RrCxba48Do5zT-b_fEhsu5um4I,8147
41
- pywebexec-1.7.14.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
42
- pywebexec-1.7.14.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
43
- pywebexec-1.7.14.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
44
- pywebexec-1.7.14.dist-info/RECORD,,
39
+ pywebexec-1.7.16.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
40
+ pywebexec-1.7.16.dist-info/METADATA,sha256=YIzS2E50FTLAFyhl9fHUGsIdMOHpW7q0ZVhqY6Jipqs,8147
41
+ pywebexec-1.7.16.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
42
+ pywebexec-1.7.16.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
43
+ pywebexec-1.7.16.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
44
+ pywebexec-1.7.16.dist-info/RECORD,,