Skip to content

Commit e82b90a

Browse files
committed
build 0.2.4
1 parent 2386b57 commit e82b90a

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from setuptools import setup, find_packages
1616

17-
VERSION = "0.2.3"
17+
VERSION = "0.2.4"
1818

1919

2020
def readme():

thonnycontrib/quecpython/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
import sys
15+
from pathlib import Path
16+
# make sure thonnycontrib in sys.path
17+
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1418

1519
from thonny import get_workbench
1620
from .backend.mp_front import (

thonnycontrib/quecpython/backend/bare_metal_backend.py

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
from logging import getLogger
2222
from textwrap import dedent, indent
2323
from typing import BinaryIO, Callable, List, Optional, Union
24+
from pathlib import Path
25+
# make sure thonnycontrib in sys.path
26+
sys.path.insert(0, str(Path(__file__).parent.parent.parent.parent))
2427

2528
# make sure thonny folder is in sys.path (relevant in dev)
2629
thonny_container = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))

0 commit comments

Comments
 (0)