Skip to content

Commit

Permalink
Fix wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
zifter committed Jan 4, 2024
1 parent c1e5bdf commit 986c8ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ packages = [
"clickhouse_migrations"
]

[tool.distutils.bdist_wheel]
universal = true

[tool.isort]
profile = "black"

Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ commands =

[testenv:build_wheel]
deps =
wheel
docutils
pygments
build
commands =
python -c "import shutil; import os; [shutil.rmtree(os.path.join(os.getcwd(), p), ignore_errors=True) for p in ['build', 'dist']];"
python setup.py sdist bdist_wheel
python3 -c "import shutil; import os; [shutil.rmtree(os.path.join(os.getcwd(), p), ignore_errors=True) for p in ['build', 'dist']];"
python3 -m build

[testenv:test_upload]
deps =
Expand Down

0 comments on commit 986c8ee

Please sign in to comment.