Commit f6db48c
committed
refactor(build): migrate from setup.py to pyproject.toml with src/ layout
- Replace multiple setup.py files with unified pyproject.toml
- Implement src/ directory layout for better organization
- Create robocompcli package with shared utilities (cli_helpers, logging_helpers)
- Consolidate all dependencies and entry points in single location
- Remove obsolete setup.py files from root and subdirectories
- Update import statements across the codebase
This change modernizes the packaging system following PEP 621,
improves maintainability, and simplifies installation.
Migration guide:
- Install from root: `pip install -e .`
- Update imports: `from cli_helpers` -> `from robocompcli`
- All CLI tools now installed together1 parent 2d4b3e7 commit f6db48c
644 files changed
Lines changed: 62 additions & 4242 deletions
File tree
- cli
- rcbuild
- rccd
- rcconfig
- rcdocker
- rcportchecker
- rcrun
- rcworkspace
- robocompdsl
- robocomp
- src
- rcbuildvalidator
- resources
- rcbuild
- rccd
- rcconfig
- rcdeploymentchecker
- rcdocker
- rcportchecker
- rcrun
- rcworkspace
- robocompcli
- robocompdsl
- common
- dsl_parsers
- specific_parsers
- cdsl
- ply_parser
- kate
- templates
- common
- templateCPP
- files
- etc
- generated
- src
- plugins
- base
- functions
- etc
- generated
- src
- dsr
- functions
- etc
- generated
- src
- gui
- functions
- etc
- generated
- src
- templateICE
- files
- plugins
- base
- functions
- templatePython
- files
- etc
- generated
- src
- plugins
- base
- functions
- etc
- generated
- src
- dsr
- functions
- etc
- generated
- src
- gui
- functions
- etc
- generated
- src
- test
- autogeneration_tests
- test_cdsl
- CDSLs
- test_Cpp11
- test_agmTestCpp
- test_allCommunicationsCpp
- test_allCommunicationsPython
- test_customStateMachineCpp
- test_customStateMachinePython
- test_defaultStateMachineCpp
- test_defaultStateMachinePython
- test_dsr2Cpp
- test_dsr2Python
- test_implementsPython
- test_noSmdslTestCpp
- test_noSmdslTestPython
- test_publicationCpp
- test_publicationPython
- test_subStatesTestCpp
- test_subStatesTestPython
- test_subscriptionCpp
- test_subscriptionPython
- test_idsl
- resources
- generate_and_test_robocomp
- reference_components
- test_Cpp11
- etc
- src
- test_agmTestCpp
- etc
- src
- test_allCommunicationsCpp
- etc
- src
- test_allCommunicationsPython
- etc
- src
- test_customStateMachineCpp
- etc
- src
- test_customStateMachinePython
- etc
- src
- test_defaultStateMachineCpp
- etc
- src
- test_defaultStateMachinePython
- etc
- src
- test_dsr2Cpp
- etc
- src
- test_dsr2Python
- etc
- src
- test_implementsPython
- etc
- src
- test_noSmdslTestCpp
- etc
- src
- test_noSmdslTestPython
- etc
- src
- test_publicationCpp
- etc
- src
- test_publicationPython
- etc
- src
- test_subStatesTestCpp
- etc
- src
- test_subStatesTestPython
- etc
- src
- test_subscriptionCpp
- etc
- src
- test_subscriptionPython
- etc
- src
- robocomp
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments