mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 16:28:14 +00:00
Move to gcc on osx.
This commit is contained in:
parent
7c0fdb0368
commit
6c0a809dce
3 changed files with 3 additions and 16 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
pyzmq>=18.1.1
|
||||
cffi>=1.13.1
|
||||
cffi>=1.13.2
|
||||
4
setup.py
4
setup.py
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue