Commit 10f327a7 authored by Jason Madden's avatar Jason Madden

Need to uninstall gevent first if we're installing from a wheel. [appveyor skip]

parent 2ec73e02
...@@ -18,7 +18,8 @@ env: ...@@ -18,7 +18,8 @@ env:
- CCACHE_SLOPPINESS=file_macro,time_macros,include_file_ctime,include_file_mtime - CCACHE_SLOPPINESS=file_macro,time_macros,include_file_ctime,include_file_mtime
- CCACHE_NOHASHDIR=true - CCACHE_NOHASHDIR=true
- BUILD_LIBS=$HOME/.libs - BUILD_LIBS=$HOME/.libs
- CFLAGS="-g -pipe" # Disable some warnings produced by libev especially and also some Cython generated code
- CFLAGS="-g -pipe -Wno-strict-aliasing -Wno-comment"
- CPPFLAGS="-I$BUILD_LIBS/include -DEV_VERIFY=3" - CPPFLAGS="-I$BUILD_LIBS/include -DEV_VERIFY=3"
- LDFLAGS="-L$BUILD_LIBS/lib" - LDFLAGS="-L$BUILD_LIBS/lib"
- LD_LIBRARY_PATH="$BUILD_LIBS/lib" - LD_LIBRARY_PATH="$BUILD_LIBS/lib"
...@@ -137,6 +138,7 @@ jobs: ...@@ -137,6 +138,7 @@ jobs:
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure # Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult) # output (pip install uses a random temporary directory, making this difficult)
- python setup.py bdist_wheel - python setup.py bdist_wheel
- pip uninstall -y gevent
- pip install `ls dist/*whl`[test] - pip install `ls dist/*whl`[test]
script: ccache -s script: ccache -s
before_script: true before_script: true
...@@ -172,6 +174,7 @@ jobs: ...@@ -172,6 +174,7 @@ jobs:
- rm -rf $BUILD_LIBS/share/man/ - rm -rf $BUILD_LIBS/share/man/
- ls -l $BUILD_LIBS $BUILD_LIBS/lib $BUILD_LIBS/include - ls -l $BUILD_LIBS $BUILD_LIBS/lib $BUILD_LIBS/include
- python setup.py bdist_wheel - python setup.py bdist_wheel
- pip uninstall -y gevent
- pip install `ls dist/*whl`[test] - pip install `ls dist/*whl`[test]
# Test that we're actually linking # Test that we're actually linking
# to the .so file. # to the .so file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment