Skip to content

Commit

Permalink
build 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin007442 committed Nov 23, 2023
1 parent 2386b57 commit e82b90a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from setuptools import setup, find_packages

VERSION = "0.2.3"
VERSION = "0.2.4"


def readme():
Expand Down
4 changes: 4 additions & 0 deletions thonnycontrib/quecpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from pathlib import Path
# make sure thonnycontrib in sys.path
sys.path.insert(0, str(Path(__file__).parent.parent.parent))

from thonny import get_workbench
from .backend.mp_front import (
Expand Down
3 changes: 3 additions & 0 deletions thonnycontrib/quecpython/backend/bare_metal_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
from logging import getLogger
from textwrap import dedent, indent
from typing import BinaryIO, Callable, List, Optional, Union
from pathlib import Path
# make sure thonnycontrib in sys.path
sys.path.insert(0, str(Path(__file__).parent.parent.parent.parent))

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

0 comments on commit e82b90a

Please sign in to comment.