Skip to content

Commit 7409163

Browse files
committed
setup.py: remove script_args and enforce manylinux2014 wheel tag
- Removed hardcoded script_args from setup() to avoid overriding build process - Added bdist_wheel options to force manylinux2014_x86_64 platform tag
1 parent 2d00399 commit 7409163

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,15 @@ def get_all_extension_modules():
228228
# cmdclass=versioneer.get_cmdclass(),
229229
version=version['__version__'],
230230
description="CUDA extension for Python",
231-
script_args=["build_ext", "--inplace", "bdist_wheel"],
232231
ext_modules=cythonize(
233232
ext_modules,
234233
compiler_directives=dict(
235234
language_level="3",
236235
),
237236
),
238237
cmdclass={"build_ext": custom_build_ext},
238+
options={
239+
"bdist_wheel": {"plat_name": "manylinux2014_x86_64"}
240+
},
239241
zip_safe=False,
240242
)

0 commit comments

Comments
 (0)