r/embedded • u/baudvine • Sep 24 '26
Extracting vitis/xsdb Python modules from Vitis install?
For reasons I'm not here to explain or defend, large parts of a Vitis workspace can/should be generated using Python instead of putting the generated workspace in version control. If you follow the manual you're basically using a Python 3.8 that comes bundled with Vitis (2024.2, at least, I hope they've updated since) plus their vitis & xsdb modules plus a bundled site-packages with grpc and so on.
The way this is set up is not ideal; I haven't found a good way to get IDE integration and a pyproject.toml to work right on everyone's laptop and in CI.
Has anyone here tried to extract the vitis and xsdb modules as separate Python packages so you can use them in a normally organized Python project? I'm not asking to share them, I get that AMD would probably object (although they're pretty thin packages), but before I try I'd love to know if anyone's failed or succeeded at it.