mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Require Python 3
We don't need to support Python 2 anymore, so drop the comment and add the minimum required version. Use version 3.8 since I am not sure that it works on older versions and 3.7 has reached end-of-life. Signed-off-by: Simon Glass <sjg@chromium.org> Message-ID: <20240811150248.7537-1-sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
bcd02b5234
commit
3501d373f0
1 changed files with 1 additions and 3 deletions
4
setup.py
4
setup.py
|
@ -1,9 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
|
||||
|
||||
# While Python 3 is the default, it's also possible to invoke
|
||||
# this setup.py script with Python 2.
|
||||
|
||||
"""
|
||||
setup.py file for SWIG libfdt
|
||||
Copyright (C) 2017 Google, Inc.
|
||||
|
@ -60,6 +57,7 @@ setup(
|
|||
ext_modules=[libfdt_module],
|
||||
package_dir={'': os.path.join(srcdir, 'pylibfdt')},
|
||||
py_modules=['libfdt'],
|
||||
python_requires=">=3.8",
|
||||
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/plain",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue