-
Notifications
You must be signed in to change notification settings - Fork 397
Closed
Description
The build is broken when run inside ZSH due to BASH-specific shell expansions. Workaround:
SHELL=/bin/bash python setup.py install
Output of python setup.py install
$ python setup.py install
checking for GEOS lib in /home/john ....
checking for GEOS lib in /home/john/local ....
checking for GEOS lib in /usr ....
GEOS lib (version 3.5.0) found in /usr
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'namespace_packages'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC
compile options: '-I/usr/include -I['/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include'] -I/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
gcc: src/_geoslib.c
zsh:1: no matches found: -I[/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include]
zsh:1: no matches found: -I[/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include]
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include -I['/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include'] -I/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c src/_geoslib.c -o build/temp.linux-x86_64-3.6/src/_geoslib.o -MMD -MF build/temp.linux-x86_64-3.6/src/_geoslib.o.d" failed with exit status 1
sixthgear, Zwiebeln, propella, gituser768 and tibuurciovulcan25, boardwalk, gkiko, carlodef and hiwonjoon
Metadata
Metadata
Assignees
Labels
No labels