Skip to content

Commit

Permalink
add ext_modules
Browse files Browse the repository at this point in the history
 * add a comment suggested by @akx (2024/01/30)
  • Loading branch information
wkpark committed Jan 30, 2024
1 parent 4f1472a commit 1f0f781
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import glob
import os

from setuptools import find_packages, setup
from setuptools import Extension, find_packages, setup


libs = list(glob.glob("./bitsandbytes/libbitsandbytes*.so"))
Expand Down Expand Up @@ -36,6 +36,9 @@ def read(fname):
},
long_description=read("README.md"),
long_description_content_type="text/markdown",
# HACK: pretend we have a native extension module so the wheel is tagged
# correctly with a platform tag (e.g. `-linux_x86_64.whl`).
ext_modules=[Extension("bitsandbytes", sources=[], language="c")],
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
Expand Down

0 comments on commit 1f0f781

Please sign in to comment.