Skip to content

Commit

Permalink
BRAYNS-593 Remove scripts dependencies. (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien4193 committed Oct 17, 2023
1 parent f551760 commit 16df8ef
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 164 deletions.
2 changes: 0 additions & 2 deletions python/brayns/network/websocket/web_socket_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@

@dataclass
class SslClientContext:

cafile: str | None = None
capath: str | None = None
cadata: str | None = None


@dataclass
class WebSocketConnector:

uri: str
listener: WebSocketListener
ssl_context: SslClientContext | None = None
Expand Down
16 changes: 7 additions & 9 deletions python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# All rights reserved. Do not distribute without further notice.

websockets~=10.3
Pillow~=9.3.0
PySimpleGUI~=4.60.1
pyright~=1.1.284
black~=22.12.0
flake8~=6.0.0
sphinx-bluebrain-theme~=0.4.0
sphinx-jsonschema~=1.19.1
sphinx~=6.1.3
websockets==10.3
pyright==1.1.331
black==23.9.1
flake8==6.1.0
sphinx-bluebrain-theme==0.4.2
sphinx-jsonschema==1.19.1
sphinx==7.2.6
1 change: 0 additions & 1 deletion python/samples/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
)

with brayns.start(service, connector) as (process, instance):

loader = brayns.BbpLoader(
cells=brayns.BbpCells.from_density(1),
report=brayns.BbpReport.compartment("somas"),
Expand Down
151 changes: 0 additions & 151 deletions python/scripts/viewer.py

This file was deleted.

1 change: 0 additions & 1 deletion python/testapi/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class ValidationFailed(RuntimeError):

@dataclass
class RenderSettings:

resolution: brayns.Resolution | None = brayns.Resolution.full_hd
camera: brayns.Camera | None = None
renderer: brayns.Renderer | None = None
Expand Down

0 comments on commit 16df8ef

Please sign in to comment.