Skip to content

Commit ac629c5

Browse files
committed
sagemath-standard/setup.py: workaround setuptools_scm
1 parent 71cf02c commit ac629c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/sagemath-standard/setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
except ImportError:
2525
pass
2626

27+
# Different workaround: disable `walk_revctrl` in setuptools
28+
# This is needed for setuptools_scm >= 8, should work for any version
29+
import setuptools.command.egg_info
30+
setuptools.command.egg_info.walk_revctrl = lambda: ()
31+
2732
#########################################################
2833
### Set source directory
2934
#########################################################

0 commit comments

Comments
 (0)