Skip to content

Commit

Permalink
Add swig dependency
Browse files Browse the repository at this point in the history
We don't want to download swig manually.
Hope pip install can finish it directly.

Signed-off-by: Gua Guo <gua.guo@intel.com>
  • Loading branch information
gguo11837463 authored and robherring committed Aug 15, 2024
1 parent cfff805 commit b980a27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def run(self):
name='pylibfdt',
cmdclass = {'build_py' : build_py},
use_scm_version=True,
setup_requires = ['setuptools_scm'],
setup_requires = ['setuptools_scm', 'swig'],
author='Simon Glass <sjg@chromium.org>',
description='Python binding for libfdt',
ext_modules=[libfdt_module],
py_modules=['libfdt'],
package_dir={'': 'libfdt'},

python_requires=">=3.8",
long_description=long_description,
long_description_content_type="text/plain",
)

0 comments on commit b980a27

Please sign in to comment.