Skip to content

Commit

Permalink
pkg: don't build universal wheels (iterative#6299)
Browse files Browse the repository at this point in the history
Kudos @skshetry for discovering that we've been publishing py2.py3
wheels on pypi and researching the cause.

Co-authored-by: Saugat Pachhai <[email protected]>

Co-authored-by: Saugat Pachhai <[email protected]>
  • Loading branch information
efiop and skshetry authored Jul 8, 2021
1 parent c33776e commit 86df89e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ fi
echo 'PKG = "pip"' >dvc/utils/build.py

python setup.py sdist
python setup.py bdist_wheel --universal
python setup.py bdist_wheel
2 changes: 1 addition & 1 deletion scripts/pypi_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ fi

rm -rf dist/
pip install twine
python setup.py sdist bdist_wheel --universal
python setup.py sdist bdist_wheel
twine upload dist/*
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[bdist_wheel]
universal=1

[flake8]
ignore=
E203, # Whitespace before ':'
Expand Down

0 comments on commit 86df89e

Please sign in to comment.