diff --git a/packages/syft/.gitignore b/packages/syft/.gitignore index 62e786c6a27..b069de9a5f1 100644 --- a/packages/syft/.gitignore +++ b/packages/syft/.gitignore @@ -27,3 +27,4 @@ fake_samples_local.png duet_mnist.pt 12084.jpg .tox/* +dist/ diff --git a/tox.ini b/tox.ini index cef4540be9c..2eb6eac6f7e 100644 --- a/tox.ini +++ b/tox.ini @@ -85,13 +85,19 @@ allowlist_externals = commands = bash -c 'uv pip list || pip list' +[testenv:syft.publish] +changedir = {toxinidir}/packages/syft +description = Build and Publish Syft Wheel +deps = + build +commands = + python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)' + python -m build . + [testenv:hagrid.publish] changedir = {toxinidir}/packages/hagrid description = Build and Publish Hagrid Wheel deps = - setuptools - wheel - twine build commands = python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)' @@ -101,9 +107,6 @@ commands = changedir = {toxinidir}/packages/syftcli description = Build and Publish Syft CLI Wheel deps = - setuptools - wheel - twine build allowlist_externals = bash @@ -382,13 +385,6 @@ commands = python -c "import syft as sy; sy.bump_protocol_version()"; \ fi' -[testenv:syft.publish] -changedir = {toxinidir}/packages/syft -description = Build and Publish Syft Wheel -commands = - python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)' - python -m build . - [testenv:syft.test.security] description = Security Checks for Syft changedir = {toxinidir}/packages/syft