mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-28 04:07:46 +00:00
pybricks: move into src/ directory
Moving the pybricks package into a src/ directory so that we can add additional packages without polluting the top-level directory.
This commit is contained in:
committed by
laurensvalk
parent
5a8baeff4c
commit
7126431f9f
+1
-1
@@ -31,7 +31,7 @@ from sphinx.domains.python import PyClassmember, PythonDomain
|
||||
import toml
|
||||
|
||||
TOP_DIR = os.path.abspath(os.path.join('..', '..'))
|
||||
sys.path.insert(0, TOP_DIR)
|
||||
sys.path.insert(0, os.path.join(TOP_DIR, 'src'))
|
||||
sys.path.append(os.path.abspath('../common/extensions'))
|
||||
|
||||
from pybricks.hubs import EV3Brick # noqa E402
|
||||
|
||||
+3
-1
@@ -13,7 +13,9 @@ classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Programming Language :: Python :: Implementation :: MicroPython",
|
||||
]
|
||||
include = ["pybricks/py.typed"]
|
||||
packages = [
|
||||
{ include = "pybricks", from = "src" },
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8"
|
||||
|
||||
Reference in New Issue
Block a user