mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -04:00
setup: Add dependencies for Windows
Windows apparently builds pylibfdt if swig is declared as a dependency in the setup file. Otherwise it must be installed manually and Windows does not sport a package manager, so this is hard for users. This change seems to have no ill effects on Linux, at least. So add a new setup_requires line. Signed-off-by: Gua Guo <gua.guo@intel.com> Signed-off-by: Simon Glass <sjg@chromium.org> Message-ID: <20240811150248.7537-6-sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
3d5e376925
commit
18d0b85136
1 changed files with 1 additions and 0 deletions
1
setup.py
1
setup.py
|
@ -76,6 +76,7 @@ setup(
|
||||||
cmdclass = {'build_py' : BuildPy},
|
cmdclass = {'build_py' : BuildPy},
|
||||||
author='Simon Glass',
|
author='Simon Glass',
|
||||||
author_email='sjg@chromium.org',
|
author_email='sjg@chromium.org',
|
||||||
|
setup_requires = ['swig'],
|
||||||
description='Python binding for libfdt',
|
description='Python binding for libfdt',
|
||||||
ext_modules=[libfdt_module],
|
ext_modules=[libfdt_module],
|
||||||
package_dir={'': os.path.join(srcdir, 'pylibfdt')},
|
package_dir={'': os.path.join(srcdir, 'pylibfdt')},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue