File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
import glob
6
6
import os
7
7
8
- from setuptools import find_packages , setup
8
+ from setuptools import Extension , find_packages , setup
9
9
10
10
libs = list (glob .glob ("./bitsandbytes/libbitsandbytes*.so" ))
11
11
libs += list (glob .glob ("./bitsandbytes/libbitsandbytes*.dll" ))
@@ -35,6 +35,9 @@ def read(fname):
35
35
},
36
36
long_description = read ("README.md" ),
37
37
long_description_content_type = "text/markdown" ,
38
+ # HACK: pretend we have a native extension module so the wheel is tagged
39
+ # correctly with a platform tag (e.g. `-linux_x86_64.whl`).
40
+ ext_modules = [Extension ("bitsandbytes" , sources = [], language = "c" )],
38
41
classifiers = [
39
42
"Development Status :: 4 - Beta" ,
40
43
"Topic :: Scientific/Engineering :: Artificial Intelligence" ,
You can’t perform that action at this time.
0 commit comments