We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01780b9 commit d2c6174Copy full SHA for d2c6174
1 file changed
setup.py
@@ -9,6 +9,7 @@
9
from setuptools import setup
10
import setuptools.command.build_py
11
import distutils.command.sdist
12
+import distutils.dist
13
import distutils.file_util
14
from distutils import log
15
from glob import glob
@@ -34,6 +35,16 @@
34
35
36
docstring = __doc__
37
38
+
39
+# Enforcing of PEP 625 has been added in setuptools 69.3.0. We don't
40
+# want this, we want to keep control on the name of the sdist
41
+# ourselves. Disable it.
42
+def _fixed_get_fullname(self):
43
+ return "%s-%s" % (self.get_name(), self.get_version())
44
45
+distutils.dist.DistributionMetadata.get_fullname = _fixed_get_fullname
46
47
48
class copy_file_mixin:
49
"""Distutils copy_file() mixin.
50
0 commit comments