Commit 84ed6a54 authored by lijian's avatar lijian
Browse files

fix: unify package name to deep_ep, distinguish shca build by version suffix



Set name='deep_ep' for both SHCA and non-SHCA builds, appending '+shca'
to the version string for SHCA. This keeps pip list and dist-info dir
consistent, with only the whl filename and version differing.
Signed-off-by: default avatarlijian <34831075+lijian0711@users.noreply.github.com>
parent 3b56cf85
......@@ -113,10 +113,12 @@ class BinaryDistribution(Distribution):
def has_ext_modules(self):
return True
version_suffix = '+shca' if build_shca else ''
if __name__ == '__main__':
setuptools.setup(
name='deep_ep_shca' if build_shca else 'deep_ep',
version=get_deepep_version(),
name='deep_ep',
version=get_deepep_version() + version_suffix,
packages=setuptools.find_packages(include=['deep_ep']),
include_package_data=True,
package_data={"deep_ep": [f"deep_ep_cpp{sysconfig.get_config_var('EXT_SUFFIX')}"]},
......
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