Move to gcc on osx.

This commit is contained in:
aouinizied 2019-11-27 23:31:18 +01:00
parent 7c0fdb0368
commit 6c0a809dce
3 changed files with 3 additions and 16 deletions

View file

@ -10,19 +10,6 @@ matrix:
homebrew:
packages:
- libpcap
update: true
- os: osx
language: generic
env: TRAVIS_PYTHON_VERSION="3.7"
osx_image: xcode11.2
python: '3.7'
compiler: gcc
addons:
homebrew:
packages:
- libpcap
update: true
- os: linux
language: python

View file

@ -1,2 +1,2 @@
pyzmq>=18.1.1
cffi>=1.13.1
cffi>=1.13.2

View file

@ -60,7 +60,7 @@ class BuildNdpiCommand(build_ext):
subprocess.check_call(['git', 'clone', '--branch', '3.0-stable', 'https://github.com/ntop/nDPI.git'])
os.chdir('nDPI/')
subprocess.check_call(['./autogen.sh'])
subprocess.check_call(['./configure'])
subprocess.check_call(['CC=gcc ./configure'])
subprocess.check_call(['make'])
os.chdir('src/')
os.chdir('lib/')
@ -76,7 +76,7 @@ needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
python_requires = '>=3.6'
install_requires = ['cffi>=1.13.1',
install_requires = ['cffi>=1.13.2',
'pyzmq>=18.1.1']
if os.getenv('READTHEDOCS'):