Skip to content

Improve pylibfdt python packaging

Rob Herring devicetree-compiler 1 version Applied

Status from this message: Applied, it certainly looks better to me.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4pylibfdt: Use setuptools instead of distutilspylibfdt/setup.py+1 -10 replies
2/4pylibfdt: Use setuptools_scm for the versionpylibfdt/Makefile.pylibfdt pylibfdt/meson.build pylibfdt/setup.py+5 -160 replies
3/4pylibfdt: Split setup.py author name and emailpylibfdt/setup.py+2 -10 replies
4/4pylibfdt: Move setup.py to the top level.gitignore MANIFEST.in pylibfdt/Makefile.pylibfdt +2 more+24 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Improve pylibfdt python packaging

I'm interested in getting pylibfdt into PyPI and ran into a few issues with pylibfdt using the python packaging tools. Primarily, pip didn't work nor did setup.py sdist and bdist_wheel subcommands. This series fixes those issues.

I've left meson calling setup.py intact for now, but think it's the wrong way around. In fact, there's actually some efforts to make meson the backend for pip/setuptools. I made several attempts to completely eliminate putting files in the source tree without success. Also, I noticed a meson install builds pylibfdt twice (though make may too).

I don't think I broke anything. Tests and installs both work with make and meson.

Rob

Rob Herring (4):
pylibfdt: Use setuptools instead of distutils
pylibfdt: Use setuptools_scm for the version
pylibfdt: Split setup.py author name and email
pylibfdt: Move setup.py to the top level

 .gitignore                    |  4 ++++
 MANIFEST.in                   |  9 +++++++++
 pylibfdt/Makefile.pylibfdt    |  5 ++---
 pylibfdt/meson.build          |  5 ++---
 pylibfdt/setup.py => setup.py | 34 +++++++++++++---------------------
 5 files changed, 30 insertions(+), 27 deletions(-)
 create mode 100644 MANIFEST.in
 rename pylibfdt/setup.py => setup.py (56%)
Signature · 1 line
2.32.0