python3 rebuild

This commit is contained in:
Rmys
2023-11-03 17:32:56 +03:00
parent b2ef403227
commit 1ae8b0f41f
5 changed files with 99 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
diff --git a/setup.py b/setup.py
index e82a832..da01efd 100755
--- a/setup.py
+++ b/setup.py
@@ -49,11 +49,8 @@ class build_py(_build_py):
setup(
name='libfdt',
- use_scm_version={
- "root": srcdir,
- },
cmdclass = {'build_py' : build_py},
- setup_requires = ['setuptools_scm'],
+ version="@VERSION@",
author='Simon Glass',
author_email='sjg@chromium.org',
description='Python binding for libfdt',