Skip to content

Commit

Permalink
Upgrade setuptools before making wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
fikisipi committed May 14, 2019
1 parent ac6fae4 commit 545e35a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ matrix:
- pyenv global 3.5.5
script:
- pyenv global 3.5.5
- python -m pip install --upgrade setuptools wheel
- python -m pip install scikit-build ninja
- python setup.py bdist_wheel
- pyenv global 3.6.5
- python -m pip install --upgrade setuptools wheel
- python -m pip install scikit-build ninja
- python setup.py bdist_wheel
- pyenv global 3.7.0b3
- python -m pip install --upgrade setuptools wheel
- python -m pip install scikit-build ninja
- python setup.py bdist_wheel
deploy:
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ environment:
install:
# We need wheel installed to build wheels
- cmd: set PATH=%PYTHON%;%PATH%
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade setuptools wheel"
- cmd: "%PYTHON%\\python.exe -m pip install wheel scikit-build ninja"

build: off
Expand Down
1 change: 1 addition & 0 deletions build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ MPATH="$PATH"
# Compile wheels
for PYBIN in /opt/python/cp3*/bin; do
PATH="${PYBIN}/:${MPATH}"
"${PYBIN}/pip" install --upgrade setuptools wheel
"${PYBIN}/pip" install -r /io/dev-requirements.txt
"${PYBIN}/pip" wheel /io/ -w dist/
/bin/rm -rf /io/_skbuild
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
Expand All @@ -12,7 +12,7 @@
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/pyEntropy/elkai",
version="0.0.5",
version="0.0.6",
packages=['elkai'],
author="Filip Dimitrovski",
license="MIT",
Expand Down

0 comments on commit 545e35a

Please sign in to comment.