Reorganized vendored micropython libraries

This commit is contained in:
Miguel Grinberg
2022-07-28 00:14:23 +01:00
parent 54c1329582
commit 7df74b0537
19 changed files with 13 additions and 1 deletions

9
libs/README.md Normal file
View File

@@ -0,0 +1,9 @@
# Vendored MicroPyton libraries
This directory contains some libraries that are required by examples and unit
tests.
All libraries except `utemplate` were copied from the
[micropython-lib](https://github.com/micropython/micropython-lib) project. See
the README file in the `common/utemplate` subdirectory for details about this
library.

View File

@@ -1,7 +1,8 @@
import sys
sys.path.insert(0, 'src')
sys.path.insert(2, 'tests/libs')
sys.path.insert(2, 'libs/common')
sys.path.insert(3, 'libs/micropython')
import unittest

View File

@@ -19,6 +19,8 @@ commands=
deps=
pytest
pytest-cov
setenv=
PYTHONPATH=libs/common
[testenv:flake8]
deps=