We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b68c26 commit 830268cCopy full SHA for 830268c
plugin/setup.py
@@ -21,6 +21,16 @@
21
22
from xprof import version
23
24
+
25
+class BinaryDistribution(setuptools.Distribution):
26
+ """This class is needed in order to create OS specific wheels."""
27
28
+ def has_ext_modules(self):
29
+ return True
30
31
+ def is_pure(self):
32
+ return False
33
34
try:
35
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel # pylint: disable=g-import-not-at-top # pytype: disable=import-error
36
@@ -93,6 +103,7 @@ def get_readme():
93
103
'xprof = xprof.server:main',
94
104
],
95
105
},
106
+ distclass=BinaryDistribution,
96
107
cmdclass=cmdclass,
97
108
python_requires='>= 3.10',
98
109
install_requires=REQUIRED_PACKAGES,
0 commit comments