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)

Co-authored-by: Aarni Koskela <[email protected]>
  • Loading branch information
wkpark and akx committed Feb 1, 2024
1 parent b4fd656 commit 5a0874e
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"))
libs += list(glob.glob("./bitsandbytes/libbitsandbytes*.dll"))
Expand Down Expand Up @@ -35,6 +35,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 5a0874e

Please sign in to comment.