Rearrange python code
This commit is contained in:
parent
53f07b5a6f
commit
b6553fc305
9 changed files with 58 additions and 22 deletions
|
|
@ -16,12 +16,16 @@ dependencies = [
|
|||
]
|
||||
|
||||
[project.scripts]
|
||||
controller-uart-bridge = "controller_uart_bridge:main"
|
||||
host-uart-logger = "host_uart_logger:main"
|
||||
controller-uart-bridge = "switch_pico_bridge.controller_uart_bridge:main"
|
||||
host-uart-logger = "switch_pico_bridge.host_uart_logger:main"
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = [
|
||||
"controller_uart_bridge",
|
||||
"host_uart_logger",
|
||||
"switch_pico_uart",
|
||||
]
|
||||
package-dir = {"" = "src"}
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
include = ["switch_pico_bridge*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
switch_pico_bridge = ["controller_db/gamecontrollerdb.txt"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue