3af9d90ee5
Co-authored-by: Shuo Yang <andy_yang@berkeley.edu>
18 lines
452 B
Python
18 lines
452 B
Python
from __future__ import annotations
|
|
|
|
from setuptools import setup
|
|
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
|
|
|
|
|
|
class bdist_wheel(_bdist_wheel):
|
|
def finalize_options(self) -> None:
|
|
super().finalize_options()
|
|
self.root_is_pure = False
|
|
|
|
def get_tag(self) -> tuple[str, str, str]:
|
|
_, _, platform_tag = super().get_tag()
|
|
return "py3", "none", platform_tag
|
|
|
|
|
|
setup(cmdclass={"bdist_wheel": bdist_wheel})
|