Skip to content

Commit

Permalink
updating wheel renaming to handle Python 3.5 and added Linux 3.5 into…
Browse files Browse the repository at this point in the history
… the build matrix
  • Loading branch information
toomanybrians committed Apr 8, 2016
1 parent c07ce45 commit 2d68e90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ matrix:
- language: python
python: 3.4
os: linux
- language: python
python: 3.5
os: linux
- language: generic
os: osx
env:
Expand Down
6 changes: 5 additions & 1 deletion build_scripts/rename_wheels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# renames ABI string in wheels from cp34m to none
# renames ABI string in wheels from cp34m or cp35m to none

import os

Expand All @@ -7,3 +7,7 @@
file_parts = file.split('-cp34m-')
os.rename('../dist/{}'.format(file),
'../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
elif '-cp35m-' in file:
file_parts = file.split('-cp35m-')
os.rename('../dist/{}'.format(file),
'../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))

0 comments on commit 2d68e90

Please sign in to comment.