aboutsummaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib
Commit message (Collapse)AuthorAgeFilesLines
* tools: Move python tools to version 0.0.6Simon Glass2023-12-131-1/+1
| | | | | | | A new release has been done with this version, so update it. Use the version numbers in dependencies also. Signed-off-by: Simon Glass <sjg@chromium.org>
* u_boot_pylib: Correct files used for pip releaseSimon Glass2023-12-131-3/+2
| | | | | | | The files list is incorrect and dates from a time when the script was run from a different directory. Update it to match all the other tools. Signed-off-by: Simon Glass <sjg@chromium.org>
* u_boot_pylib: Correct readme formattingSimon Glass2023-12-131-1/+1
| | | | | | | | Correct a heading which is too short in the readme. Fixes: 75554dfac29 ("patman: Add support for building a u_boot_tools...") Signed-off-by: Simon Glass <sjg@chromium.org>
* doc: Update documentation URLSimon Glass2023-12-131-1/+1
| | | | | | Update to use the new docs.u-boot.org URL for documentation. Signed-off-by: Simon Glass <sjg@chromium.org>
* u_boot_pylib: Ensure subprocess is closed downSimon Glass2023-11-021-3/+1
| | | | | | | | | | | | | | | | | It isn't clear why we need to have two different paths for closing down the pipe. Unify them and use the Python to avoid this warning: subprocess.py:1127: ResourceWarning: subprocess 83531 is still running Note that this code appears to originally have come from [1] and was committed into the ChromeOS chromiumos/platform/crosutils repo in the bin/cros_image_to_target.py file. The addition of the extra code path came later, so that is chosen for the fixes tag. [1] https://codereview.chromium.org/3391008 Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: a10fd93cbc patman: Make command methods return a CommandResult
* buildman: Enable test coverageSimon Glass2023-07-241-3/+7
| | | | | | | Enable measuring test coverage for buildman so we can see the gaps. It is currently at 68%. Signed-off-by: Simon Glass <sjg@chromium.org>
* tools: Fix package discovery in pyproject.toml of u_boot_pylib.Maxim Cournoyer2023-07-201-0/+4
| | | | | | | | | | | | When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory. * tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* tools: Fix README file in pyproject.toml of u_boot_pylib.Maxim Cournoyer2023-07-201-1/+1
| | | | | | | | * tools/u_boot_pylib/pyproject.toml (readme): Replace README.md with README.rst. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* patman: Add support for building a u_boot_tools PyPi packageSimon Glass2023-03-083-0/+376
| | | | | | Create the necessary files to build this new package. Signed-off-by: Simon Glass <sjg@chromium.org>
* patman: Move library functions into a library directorySimon Glass2023-03-089-0/+1829
The patman directory has a number of modules which are used by other tools in U-Boot. This makes it hard to package the tools using pypi since the common files must be copied along with the tool that uses them. To address this, move these files into a new u_boot_pylib library. This can be packaged separately and listed as a dependency of each tool. Signed-off-by: Simon Glass <sjg@chromium.org>