Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
DeepEP
Commits
e3b8804b
Commit
e3b8804b
authored
May 13, 2026
by
lijian
Browse files
Add python version for whl package.
Signed-off-by:
lijian
<
34831075+lijian0711@users.noreply.github.com
>
parent
8f9cb191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
setup.py
setup.py
+6
-0
No files found.
setup.py
View file @
e3b8804b
...
@@ -5,6 +5,7 @@ import subprocess
...
@@ -5,6 +5,7 @@ import subprocess
import
sysconfig
import
sysconfig
from
typing
import
Optional
from
typing
import
Optional
import
subprocess
import
subprocess
from
setuptools
import
Distribution
import
torch
import
torch
...
@@ -105,6 +106,10 @@ def get_deepep_version() -> str:
...
@@ -105,6 +106,10 @@ def get_deepep_version() -> str:
version
=
get_version
()
version
=
get_version
()
return
version
return
version
class
BinaryDistribution
(
Distribution
):
def
has_ext_modules
(
self
):
return
True
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
setuptools
.
setup
(
setuptools
.
setup
(
name
=
'deep_ep'
,
name
=
'deep_ep'
,
...
@@ -113,4 +118,5 @@ if __name__ == '__main__':
...
@@ -113,4 +118,5 @@ if __name__ == '__main__':
include_package_data
=
True
,
include_package_data
=
True
,
package_data
=
{
"deep_ep"
:
[
f
"deep_ep_cpp
{
sysconfig
.
get_config_var
(
'EXT_SUFFIX'
)
}
"
]},
package_data
=
{
"deep_ep"
:
[
f
"deep_ep_cpp
{
sysconfig
.
get_config_var
(
'EXT_SUFFIX'
)
}
"
]},
zip_safe
=
False
,
zip_safe
=
False
,
distclass
=
BinaryDistribution
,
)
)
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