added package structure

This commit is contained in:
2021-09-08 14:04:00 +02:00
parent 583f618016
commit f8cd002cb0
8 changed files with 8 additions and 4 deletions

4
bstrd/__init__.py Normal file
View File

@ -0,0 +1,4 @@
from .bstrd import *

View File

@ -1,7 +1,7 @@
from time import sleep
from bsread import source, dispatcher
from bsvar import BSVar
from prodthread import ProdThread
from .bsvar import BSVar
from .prodthread import ProdThread
class BSCache:

View File

@ -1,4 +1,4 @@
from bscache import BSCache
from .bscache import BSCache
bsstream = BSCache()

2
run.py
View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
from time import sleep
from bs import BS, bsstream
from bstrd import BS, bsstream
v0 = BS("pid")