Unverified Commit c12c4c1e authored by Won-Kyu Park's avatar Won-Kyu Park
Browse files

add ext_modules



 * add a comment suggested by @akx (2024/01/30)
Co-authored-by: default avatarAarni Koskela <akx@iki.fi>
parent ca4a46ef
......@@ -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"))
......@@ -35,6 +35,9 @@ setup(
},
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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment