wslink 2.4.0__tar.gz → 2.5.0__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 (32) hide show
  1. {wslink-2.4.0 → wslink-2.5.0}/PKG-INFO +1 -1
  2. {wslink-2.4.0 → wslink-2.5.0}/setup.cfg +1 -1
  3. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/aiohttp/__init__.py +7 -1
  4. {wslink-2.4.0 → wslink-2.5.0}/src/wslink.egg-info/PKG-INFO +1 -1
  5. {wslink-2.4.0 → wslink-2.5.0}/MANIFEST.in +0 -0
  6. {wslink-2.4.0 → wslink-2.5.0}/README.rst +0 -0
  7. {wslink-2.4.0 → wslink-2.5.0}/setup.py +0 -0
  8. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/LICENSE +0 -0
  9. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/__init__.py +0 -0
  10. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/__init__.py +0 -0
  11. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/aiohttp/launcher.py +0 -0
  12. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/aiohttp/relay.py +0 -0
  13. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/generic/__init__.py +0 -0
  14. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/generic/core.py +0 -0
  15. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/jupyter/__init__.py +0 -0
  16. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/jupyter/core.py +0 -0
  17. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/tornado/__init__.py +0 -0
  18. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/backends/tornado/core.py +0 -0
  19. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/chunking.py +0 -0
  20. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/emitter.py +0 -0
  21. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/launcher.py +0 -0
  22. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/protocol.py +0 -0
  23. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/publish.py +0 -0
  24. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/relay.py +0 -0
  25. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/server.py +0 -0
  26. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/ssl_context.py +0 -0
  27. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/uri.py +0 -0
  28. {wslink-2.4.0 → wslink-2.5.0}/src/wslink/websocket.py +0 -0
  29. {wslink-2.4.0 → wslink-2.5.0}/src/wslink.egg-info/SOURCES.txt +0 -0
  30. {wslink-2.4.0 → wslink-2.5.0}/src/wslink.egg-info/dependency_links.txt +0 -0
  31. {wslink-2.4.0 → wslink-2.5.0}/src/wslink.egg-info/requires.txt +0 -0
  32. {wslink-2.4.0 → wslink-2.5.0}/src/wslink.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: Python/JavaScript library for communicating over WebSocket
5
5
  Home-page: https://github.com/kitware/wslink
6
6
  Author: Kitware, Inc.
@@ -1,5 +1,5 @@
1
1
  [metadata]
2
- version = 2.4.0
2
+ version = 2.5.0
3
3
 
4
4
  [egg_info]
5
5
  tag_build =
@@ -93,6 +93,9 @@ class WebAppServer(AbstractWebApp):
93
93
 
94
94
  if "static" in server_config:
95
95
  static_routes = server_config["static"]
96
+ follow_symlinks = server_config["static_follow_symlinks"] if "static_follow_symlinks" in server_config else False
97
+ follow_symlinks = follow_symlinks or bool(int(os.environ.get("WSLINK_FOLLOW_SYMLINKS", 0)))
98
+
96
99
  routes = []
97
100
 
98
101
  # Ensure longer path are registered first
@@ -100,7 +103,10 @@ class WebAppServer(AbstractWebApp):
100
103
  server_path = static_routes[route]
101
104
  routes.append(
102
105
  aiohttp_web.static(
103
- _fix_path(route), server_path, append_version=True
106
+ _fix_path(route),
107
+ server_path,
108
+ append_version=True,
109
+ follow_symlinks=follow_symlinks,
104
110
  )
105
111
  )
106
112
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: Python/JavaScript library for communicating over WebSocket
5
5
  Home-page: https://github.com/kitware/wslink
6
6
  Author: Kitware, Inc.
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