@@ -197,11 +197,11 @@ jobs:
197197 python-version : " 3.10"
198198 - name : Build sdist package
199199 run : |
200- python -m pip install --upgrade pip setuptools wheel
200+ python -m pip install --upgrade pip build
201201 cd python/interpret-core
202- python setup.py sdist -d ../../bld/sdist
202+ python -m build -- sdist --outdir ../../bld/sdist
203203 cd ../interpret
204- python setup.py sdist -d ../../bld/sdist
204+ python -m build -- sdist --outdir ../../bld/sdist
205205 - name : Publish sdist package
206206 uses : actions/upload-artifact@v7
207207 with :
@@ -293,11 +293,11 @@ jobs:
293293 path : python/interpret-core/interpret/root/bld/lib/
294294 - name : Build bdist package
295295 run : |
296- python -m pip install --upgrade pip setuptools wheel
296+ python -m pip install --upgrade pip build
297297 cd python/interpret-core
298- python setup.py bdist_wheel -d ../../bld/bdist
298+ python -m build --wheel --outdir ../../bld/bdist
299299 cd ../interpret
300- python setup.py bdist_wheel -d ../../bld/bdist
300+ python -m build --wheel --outdir ../../bld/bdist
301301 - name : Publish bdist package
302302 uses : actions/upload-artifact@v7
303303 with :
@@ -320,9 +320,9 @@ jobs:
320320 python-version : " 3.10"
321321 - name : Build powerlift package
322322 run : |
323- python -m pip install --upgrade pip setuptools wheel
323+ python -m pip install --upgrade pip build
324324 cd python/powerlift
325- python setup.py bdist_wheel -d ../../bld/powerlift
325+ python -m build --wheel --outdir ../../bld/powerlift
326326 - name : Publish powerlift package
327327 uses : actions/upload-artifact@v7
328328 with :
0 commit comments