meta-soul / MetaSpore

A unified end-to-end machine intelligence platform
Apache License 2.0
642 stars 118 forks source link

[build] Get pyproject.toml version in cmake via pkg_resources is wrong #179

Closed dmetasoul01 closed 2 years ago

dmetasoul01 commented 2 years ago

pkg_resources.get_distribution requires the package already installed. Use grep to get version from pyproject.toml insdead.