Skip to content

Commit

Permalink
refactor: remove commands related to auditweel
Browse files Browse the repository at this point in the history
  • Loading branch information
pine committed Feb 29, 2020
1 parent eef0765 commit 6a12040
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion .wercker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apt-get update -qq
apt-get -qq install -y --no-install-recommends unzip patchelf

for v in 3.6 3.7 3.8; do
/usr/local/python-$v/bin/python -m pip install auditwheel
/usr/local/python-$v/bin/python -m pip install 'wheel==0.31.1'
/usr/local/python-$v/bin/python -m pip install -r requirements-dev.txt
done
2 changes: 0 additions & 2 deletions .wercker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ set -eux -o pipefail
for v in 3.5 3.6 3.7; do
./scripts/clean.sh
/usr/local/python-$v/bin/python setup.py bdist_wheel install test
PATH=/usr/local/python-$v/bin:$PATH \
/usr/local/python-$v/bin/python scripts/publish.py --target=pypi
/usr/local/python-$v/bin/python scripts/publish.py --target=gemfury
done

7 changes: 0 additions & 7 deletions scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ def find_wheel_path(version):
return str(list(paths)[0])


def repair_wheel(wheel_path):
if sys.platform.startswith('linux'):
subprocess.run(['auditwheel', 'show', wheel_path], check=True)
subprocess.run(['auditwheel', 'repair', wheel_path], check=True)


def push_to_gemfary(wheel_path):
try:
subprocess.run(['fury', 'push', wheel_path,
Expand Down Expand Up @@ -147,7 +141,6 @@ def publish(target):
return

if target.startswith('pypi'):
repair_wheel(wheel_path)
push_to_pypi(wheel_path, target)
return

Expand Down

0 comments on commit 6a12040

Please sign in to comment.