Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
6dea5c96
"dgl_sparse/vscode:/vscode.git/clone" did not exist on "0a65559276b7ae27df7b0a43dd2579a0e1ce9be4"
Unverified
Commit
6dea5c96
authored
Mar 28, 2025
by
Yineng Zhang
Committed by
GitHub
Mar 28, 2025
Browse files
Revert "get the python version from env (#4729)" (#4863)
parent
6ffb6bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
sgl-kernel/setup.py
sgl-kernel/setup.py
+1
-7
No files found.
sgl-kernel/setup.py
View file @
6dea5c96
...
...
@@ -235,12 +235,6 @@ ext_modules = [
),
]
def
get_py_ver
():
major
,
minor
=
sys
.
version_info
[:
2
]
return
f
"cp
{
major
}{
minor
}
"
setup
(
name
=
"sgl-kernel"
,
version
=
_get_version
(),
...
...
@@ -251,5 +245,5 @@ setup(
"build_ext"
:
BuildExtension
.
with_options
(
use_ninja
=
True
),
"build_py"
:
CustomBuildPy
,
},
options
=
{
"bdist_wheel"
:
{
"py_limited_api"
:
get_py_ver
()
}},
options
=
{
"bdist_wheel"
:
{
"py_limited_api"
:
"cp39"
}},
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment