Skip to content

Commit 87dcc2e

Browse files
committed
fix: first successful package setup script
1 parent 1cbe908 commit 87dcc2e

File tree

14 files changed

+137
-130
lines changed

14 files changed

+137
-130
lines changed

src/peerjspy/cli.py renamed to cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# import argparse
33
import asyncio
44
import logging
5-
from .peerroom import PeerRoom
5+
from peerjs.peerroom import PeerRoom
66
# from aiortc import RTCIceCandidate, RTCSessionDescription
7-
from .peer import Peer
7+
from peerjs.peer import Peer
88

99
log = logging.getLogger(__name__)
1010

run-dev.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Absolute path to this script, e.g. /home/user/bin/foo.sh
2+
SCRIPT=$(readlink -f "$0")
3+
# Absolute path this script is in, thus /home/user/bin
4+
SCRIPTPATH=$(dirname "$SCRIPT")
5+
echo $SCRIPTPATH
6+
17
set -ex
2-
pip3 install -e src
3-
# python3 -m ambianic
8+
pip3 install --editable src
9+
python3 $SCRIPTPATH/cli.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)